mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
test scene: remove duplicated engine initialization.
Change-Id: I5a2f972544e47578552b0c49367749ce2d01c5f2
This commit is contained in:
parent
2b53b8018a
commit
ad6b74dd13
1 changed files with 0 additions and 6 deletions
|
@ -13,9 +13,6 @@ tvg::Scene* pScene2 = nullptr;
|
|||
|
||||
void tvgtest()
|
||||
{
|
||||
//Initialize TizenVG Engine
|
||||
tvg::Engine::init();
|
||||
|
||||
//Create a Canvas
|
||||
canvas = tvg::SwCanvas::gen();
|
||||
canvas->target(buffer, WIDTH, WIDTH, HEIGHT);
|
||||
|
@ -96,9 +93,6 @@ void tvgtest()
|
|||
|
||||
canvas->draw();
|
||||
canvas->sync();
|
||||
|
||||
//Terminate TizenVG Engine
|
||||
tvg::Engine::term();
|
||||
}
|
||||
|
||||
void transit_cb(Elm_Transit_Effect *effect, Elm_Transit* transit, double progress)
|
||||
|
|
Loading…
Add table
Reference in a new issue