mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-02 09:06:58 +00:00
rlottie/example: refactor to use evas_object_image_pixels_dirty_set() api
This commit is contained in:
committed by
Subhransu
parent
e521b6d8df
commit
11c7403768
@@ -103,14 +103,6 @@ onKeyCb(void *data, void *extra)
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
onRenderPreCb(void *data, void */*extra*/)
|
||||
{
|
||||
UxSampleTest *view = (UxSampleTest *)data;
|
||||
if (view->mView)
|
||||
view->mView->render();
|
||||
}
|
||||
|
||||
static void
|
||||
onResizeCb(void *data, void */*extra*/)
|
||||
{
|
||||
@@ -134,7 +126,6 @@ main(int argc, char **argv)
|
||||
|
||||
app->addExitCb(onExitCb, view);
|
||||
app->addKeyCb(onKeyCb, view);
|
||||
app->addRenderPreCb(onRenderPreCb, view);
|
||||
app->addResizeCb(onResizeCb, view);
|
||||
|
||||
app->run();
|
||||
|
||||
Reference in New Issue
Block a user