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:
parent
ecd063da67
commit
91f91dc678
1 changed files with 3 additions and 0 deletions
|
@ -45,7 +45,10 @@
|
||||||
#include "cogl-winsys-stub-private.h"
|
#include "cogl-winsys-stub-private.h"
|
||||||
#include "cogl-winsys-egl-private.h"
|
#include "cogl-winsys-egl-private.h"
|
||||||
#include "cogl-config-private.h"
|
#include "cogl-config-private.h"
|
||||||
|
|
||||||
|
#if COGL_HAS_XLIB_SUPPORT
|
||||||
#include "cogl-xlib-renderer.h"
|
#include "cogl-xlib-renderer.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef COGL_HAS_GLX_SUPPORT
|
#ifdef COGL_HAS_GLX_SUPPORT
|
||||||
extern const CoglWinsysVtable *_cogl_winsys_glx_get_vtable (void);
|
extern const CoglWinsysVtable *_cogl_winsys_glx_get_vtable (void);
|
||||||
|
|
Loading…
Reference in a new issue