[cogl] cogl-renderer.c: Fix includes
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] cogl-renderer.c: Fix includes
- Date: Mon, 14 Nov 2011 18:39:15 +0000 (UTC)
commit 91f91dc67879ec6efca037bc71fa8dcfcd53d089
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Nov 9 15:19:26 2011 +0800
cogl-renderer.c: Fix includes
Only include cogl-xlib-renderer.h when XLIB support is available
Reviewed-by: Robert Bragg <robert linux intel com>
cogl/cogl-renderer.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-renderer.c b/cogl/cogl-renderer.c
index 54b8599..b1a3e8a 100644
--- a/cogl/cogl-renderer.c
+++ b/cogl/cogl-renderer.c
@@ -45,7 +45,10 @@
#include "cogl-winsys-stub-private.h"
#include "cogl-winsys-egl-private.h"
#include "cogl-config-private.h"
+
+#if COGL_HAS_XLIB_SUPPORT
#include "cogl-xlib-renderer.h"
+#endif
#ifdef COGL_HAS_GLX_SUPPORT
extern const CoglWinsysVtable *_cogl_winsys_glx_get_vtable (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]