src/video/x11/SDL_x11opengles.c
changeset 6044 35448a5ea044
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
--- a/src/video/x11/SDL_x11opengles.c	Mon Oct 31 03:06:32 2011 -0400
+++ b/src/video/x11/SDL_x11opengles.c	Mon Oct 31 05:56:58 2011 -0400
@@ -20,7 +20,7 @@
 */
 #include "SDL_config.h"
 
-#if SDL_VIDEO_OPENGL_ES
+#if SDL_VIDEO_DRIVER_X11 && SDL_VIDEO_OPENGL_ES
 
 #include "SDL_x11video.h"
 #include "SDL_x11opengles.h"
@@ -360,6 +360,6 @@
 
 }
 
-#endif /* SDL_VIDEO_OPENGL_ES */
+#endif /* SDL_VIDEO_DRIVER_X11 && SDL_VIDEO_OPENGL_ES */
 
 /* vi: set ts=4 sw=4 expandtab: */