src/render/opengles2/SDL_shaders_gles2.c
changeset 5226 710d00cb3a6a
parent 5204 daa5463466c5
child 5260 62d2bc792002
     1.1 --- a/src/render/opengles2/SDL_shaders_gles2.c	Mon Feb 07 22:57:33 2011 -0800
     1.2 +++ b/src/render/opengles2/SDL_shaders_gles2.c	Tue Feb 08 10:04:09 2011 -0800
     1.3 @@ -23,7 +23,7 @@
     1.4  
     1.5  #include "SDL_config.h"
     1.6  
     1.7 -#if SDL_VIDEO_RENDER_OGL_ES2
     1.8 +#if SDL_VIDEO_RENDER_OGL_ES2 && !SDL_RENDER_DISABLED
     1.9  
    1.10  #include "SDL_video.h"
    1.11  #include "SDL_opengles2.h"
    1.12 @@ -539,6 +539,6 @@
    1.13      }
    1.14  }
    1.15  
    1.16 -#endif /* SDL_VIDEO_RENDER_OGL_ES2 */
    1.17 +#endif /* SDL_VIDEO_RENDER_OGL_ES2 && !SDL_RENDER_DISABLED */
    1.18  
    1.19  /* vi: set ts=4 sw=4 expandtab: */