Mercurial > sdl-ios-xcode
diff src/render/opengles2/SDL_render_gles2.c @ 5231:710d00cb3a6a
Made it possible to disable the rendering subsystem with configure --disable-render
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 08 Feb 2011 10:04:09 -0800 |
parents | 2178ffe17222 |
children | 9c0c4d767ef6 |
line wrap: on
line diff
--- a/src/render/opengles2/SDL_render_gles2.c Mon Feb 07 22:57:33 2011 -0800 +++ b/src/render/opengles2/SDL_render_gles2.c Tue Feb 08 10:04:09 2011 -0800 @@ -23,7 +23,7 @@ #include "SDL_config.h" -#if SDL_VIDEO_RENDER_OGL_ES2 +#if SDL_VIDEO_RENDER_OGL_ES2 && !SDL_RENDER_DISABLED #include "SDL_opengles2.h" #include "../SDL_sysrender.h" @@ -1201,6 +1201,6 @@ return renderer; } -#endif /* SDL_VIDEO_RENDER_OGL_ES2 */ +#endif /* SDL_VIDEO_RENDER_OGL_ES2 && !SDL_RENDER_DISABLED */ /* vi: set ts=4 sw=4 expandtab: */