Made it possible to disable the rendering subsystem with configure --disable-render

This commit is contained in:
Sam Lantinga 2011-02-08 10:04:09 -08:00
parent 8f205278b1
commit 7133afac5f
15 changed files with 53 additions and 10 deletions

View file

@ -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 @@ GLES2_CreateRenderer(SDL_Window *window, Uint32 flags)
return renderer;
}
#endif /* SDL_VIDEO_RENDER_OGL_ES2 */
#endif /* SDL_VIDEO_RENDER_OGL_ES2 && !SDL_RENDER_DISABLED */
/* vi: set ts=4 sw=4 expandtab: */