test-pixmap: Fix up compilation on EGLX

We need to check for the GLX windowing system if we are to include
clutter-glx.h.
This commit is contained in:
Emmanuele Bassi 2011-01-19 18:51:01 +00:00
parent 62a0584f11
commit a2d6edd422

View File

@ -14,8 +14,10 @@
# include <clutter/x11/clutter-x11.h> # include <clutter/x11/clutter-x11.h>
# include <clutter/x11/clutter-x11-texture-pixmap.h> # include <clutter/x11/clutter-x11-texture-pixmap.h>
# ifdef CLUTTER_WINDOWING_GLX
# include <clutter/glx/clutter-glx.h> # include <clutter/glx/clutter-glx.h>
# include <clutter/glx/clutter-glx-texture-pixmap.h> # include <clutter/glx/clutter-glx-texture-pixmap.h>
# endif
# include <X11/Xlib.h> # include <X11/Xlib.h>
# include <X11/extensions/Xcomposite.h> # include <X11/extensions/Xcomposite.h>