From cbbf76f280fc7a9b5815459f89ef78dfaed0b823 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 18 Apr 2011 15:53:25 +0100 Subject: [PATCH] cogl/glx: Silence a compiler warning --- cogl/winsys/cogl-winsys-glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/winsys/cogl-winsys-glx.c b/cogl/winsys/cogl-winsys-glx.c index 0e01968df..a5b07489c 100644 --- a/cogl/winsys/cogl-winsys-glx.c +++ b/cogl/winsys/cogl-winsys-glx.c @@ -1191,7 +1191,7 @@ _cogl_winsys_onscreen_swap_buffers (CoglOnscreen *onscreen) if (onscreen->swap_throttled) { - guint32 end_frame_vsync_counter; + guint32 end_frame_vsync_counter = 0; have_counter = _cogl_winsys_has_feature (COGL_WINSYS_FEATURE_VBLANK_COUNTER);