Mercurial > sdl-ios-xcode
comparison src/render/opengles2/SDL_shaders_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 | daa5463466c5 |
children | 62d2bc792002 |
comparison
equal
deleted
inserted
replaced
5230:5d01d426f2ea | 5231:710d00cb3a6a |
---|---|
21 DEALINGS IN THE SOFTWARE. | 21 DEALINGS IN THE SOFTWARE. |
22 */ | 22 */ |
23 | 23 |
24 #include "SDL_config.h" | 24 #include "SDL_config.h" |
25 | 25 |
26 #if SDL_VIDEO_RENDER_OGL_ES2 | 26 #if SDL_VIDEO_RENDER_OGL_ES2 && !SDL_RENDER_DISABLED |
27 | 27 |
28 #include "SDL_video.h" | 28 #include "SDL_video.h" |
29 #include "SDL_opengles2.h" | 29 #include "SDL_opengles2.h" |
30 #include "SDL_shaders_gles2.h" | 30 #include "SDL_shaders_gles2.h" |
31 #include "SDL_stdinc.h" | 31 #include "SDL_stdinc.h" |
537 default: | 537 default: |
538 return NULL; | 538 return NULL; |
539 } | 539 } |
540 } | 540 } |
541 | 541 |
542 #endif /* SDL_VIDEO_RENDER_OGL_ES2 */ | 542 #endif /* SDL_VIDEO_RENDER_OGL_ES2 && !SDL_RENDER_DISABLED */ |
543 | 543 |
544 /* vi: set ts=4 sw=4 expandtab: */ | 544 /* vi: set ts=4 sw=4 expandtab: */ |