diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/cogl-gles2-context.c | 4 | ||||
-rw-r--r-- | examples/cogl-gles2-gears.c | 4 | ||||
-rw-r--r-- | examples/cogl-hello.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/cogl-gles2-context.c b/examples/cogl-gles2-context.c index c102a0c3..68e75035 100644 --- a/examples/cogl-gles2-context.c +++ b/examples/cogl-gles2-context.c @@ -59,8 +59,8 @@ frame_event_cb (CoglOnscreen *onscreen, CoglFrameInfo *info, void *user_data) { - if (event == COGL_FRAME_EVENT_SYNC) - g_idle_add (paint_cb, user_data); + if (event == COGL_FRAME_EVENT_SYNC) + paint_cb (user_data); } int diff --git a/examples/cogl-gles2-gears.c b/examples/cogl-gles2-gears.c index ad795b08..d7dd2716 100644 --- a/examples/cogl-gles2-gears.c +++ b/examples/cogl-gles2-gears.c @@ -604,8 +604,8 @@ frame_event_cb (CoglOnscreen *onscreen, CoglFrameInfo *info, void *user_data) { - if (event == COGL_FRAME_EVENT_SYNC) - g_idle_add (paint_cb, user_data); + if (event == COGL_FRAME_EVENT_SYNC) + paint_cb (user_data); } /** diff --git a/examples/cogl-hello.c b/examples/cogl-hello.c index 8d86a973..5bda9bf7 100644 --- a/examples/cogl-hello.c +++ b/examples/cogl-hello.c @@ -29,7 +29,7 @@ frame_event_cb (CoglOnscreen *onscreen, void *user_data) { if (event == COGL_FRAME_EVENT_SYNC) - g_idle_add (paint_cb, user_data); + paint_cb (user_data); } int |