diff --git a/examples/cogl-crate.c b/examples/cogl-crate.c index da3332852..fa9d86f2d 100644 --- a/examples/cogl-crate.c +++ b/examples/cogl-crate.c @@ -164,6 +164,9 @@ main (int argc, char **argv) return 1; } + data.framebuffer_width = cogl_framebuffer_get_width (fb); + data.framebuffer_height = cogl_framebuffer_get_height (fb); + data.timer = g_timer_new (); cogl_onscreen_show (onscreen);