[cogl/wip/wayland-compositor: 15/18] cogl-xlib: fix mixed declarations warning
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/wayland-compositor: 15/18] cogl-xlib: fix mixed declarations warning
- Date: Fri, 27 May 2011 11:42:00 +0000 (UTC)
commit 48a0f7ee7282b4cc660c35cde5231589727bd592
Author: Robert Bragg <robert linux intel com>
Date: Wed May 25 18:58:34 2011 +0100
cogl-xlib: fix mixed declarations warning
cogl/cogl-xlib.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/cogl/cogl-xlib.c b/cogl/cogl-xlib.c
index 018d11a..c648216 100644
--- a/cogl/cogl-xlib.c
+++ b/cogl/cogl-xlib.c
@@ -133,8 +133,9 @@ _cogl_xlib_query_damage_extension (void)
int
_cogl_xlib_get_damage_base (void)
{
+ CoglRendererX11 *x11_renderer;
_COGL_GET_CONTEXT (ctxt, -1);
- CoglRendererX11 *x11_renderer = ctxt->display->renderer->winsys;
+ x11_renderer = ctxt->display->renderer->winsys;
return x11_renderer->damage_base;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]