src/render/opengl/SDL_render_gl.c
changeset 5226 710d00cb3a6a
parent 5224 2178ffe17222
child 5227 9c0c4d767ef6
     1.1 --- a/src/render/opengl/SDL_render_gl.c	Mon Feb 07 22:57:33 2011 -0800
     1.2 +++ b/src/render/opengl/SDL_render_gl.c	Tue Feb 08 10:04:09 2011 -0800
     1.3 @@ -21,7 +21,7 @@
     1.4  */
     1.5  #include "SDL_config.h"
     1.6  
     1.7 -#if SDL_VIDEO_RENDER_OGL
     1.8 +#if SDL_VIDEO_RENDER_OGL && !SDL_RENDER_DISABLED
     1.9  
    1.10  #include "SDL_opengl.h"
    1.11  #include "../SDL_sysrender.h"
    1.12 @@ -841,6 +841,6 @@
    1.13      SDL_free(renderer);
    1.14  }
    1.15  
    1.16 -#endif /* SDL_VIDEO_RENDER_OGL */
    1.17 +#endif /* SDL_VIDEO_RENDER_OGL && !SDL_RENDER_DISABLED */
    1.18  
    1.19  /* vi: set ts=4 sw=4 expandtab: */