src/render/opengles2/SDL_render_gles2.c
changeset 5226 710d00cb3a6a
parent 5224 2178ffe17222
child 5227 9c0c4d767ef6
equal deleted inserted replaced
5225:5d01d426f2ea 5226: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_opengles2.h"
    28 #include "SDL_opengles2.h"
    29 #include "../SDL_sysrender.h"
    29 #include "../SDL_sysrender.h"
    30 #include "SDL_shaders_gles2.h"
    30 #include "SDL_shaders_gles2.h"
    31 
    31 
  1199     renderer->DestroyTexture      = &GLES2_DestroyTexture;
  1199     renderer->DestroyTexture      = &GLES2_DestroyTexture;
  1200     renderer->DestroyRenderer     = &GLES2_DestroyRenderer;
  1200     renderer->DestroyRenderer     = &GLES2_DestroyRenderer;
  1201     return renderer;
  1201     return renderer;
  1202 }
  1202 }
  1203 
  1203 
  1204 #endif /* SDL_VIDEO_RENDER_OGL_ES2 */
  1204 #endif /* SDL_VIDEO_RENDER_OGL_ES2 && !SDL_RENDER_DISABLED */
  1205 
  1205 
  1206 /* vi: set ts=4 sw=4 expandtab: */
  1206 /* vi: set ts=4 sw=4 expandtab: */