mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
example: corrected a wrong clear call.
This commit is contained in:
parent
70b2f2dad1
commit
d6cdae6237
1 changed files with 0 additions and 2 deletions
|
@ -294,8 +294,6 @@ struct SwWindow : Window
|
|||
|
||||
//Set the canvas target and draw on it.
|
||||
verify(canvas->target((uint32_t*)surface->pixels, surface->w, surface->pitch / 4, surface->h, tvg::SwCanvas::ARGB8888));
|
||||
|
||||
canvas->clear(false);
|
||||
}
|
||||
|
||||
void refresh() override
|
||||
|
|
Loading…
Add table
Reference in a new issue