1
0
Fork 0

cogl-renderer.c: Fix includes

Only include cogl-xlib-renderer.h when XLIB support is available

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Chun-wei Fan 2011-11-09 15:19:26 +08:00 committed by Robert Bragg
parent ecd063da67
commit 91f91dc678

View file

@ -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);