mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
example: corrected reveresed arguments
This commit is contained in:
parent
031dd647bc
commit
e010e22df2
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ struct SwWindow : Window
|
||||||
if (!surface) return;
|
if (!surface) return;
|
||||||
|
|
||||||
//Set the canvas target and draw on it.
|
//Set the canvas target and draw on it.
|
||||||
verify(static_cast<tvg::SwCanvas*>(canvas)->target((uint32_t*)surface->pixels, surface->w, surface->pitch / 4, surface->h, tvg::SwCanvas::ARGB8888));
|
verify(static_cast<tvg::SwCanvas*>(canvas)->target((uint32_t*)surface->pixels, surface->pitch / 4, surface->w, surface->h, tvg::SwCanvas::ARGB8888));
|
||||||
|
|
||||||
canvas->clear(false);
|
canvas->clear(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue