src/render/opengles/SDL_render_gles.c
changeset 5226 710d00cb3a6a
parent 5224 2178ffe17222
child 5227 9c0c4d767ef6
--- a/src/render/opengles/SDL_render_gles.c	Mon Feb 07 22:57:33 2011 -0800
+++ b/src/render/opengles/SDL_render_gles.c	Tue Feb 08 10:04:09 2011 -0800
@@ -21,7 +21,7 @@
 */
 #include "SDL_config.h"
 
-#if SDL_VIDEO_RENDER_OGL_ES
+#if SDL_VIDEO_RENDER_OGL_ES && !SDL_RENDER_DISABLED
 
 #include "SDL_opengles.h"
 #include "../SDL_sysrender.h"
@@ -728,6 +728,6 @@
     SDL_free(renderer);
 }
 
-#endif /* SDL_VIDEO_RENDER_OGL_ES */
+#endif /* SDL_VIDEO_RENDER_OGL_ES && !SDL_RENDER_DISABLED */
 
 /* vi: set ts=4 sw=4 expandtab: */