src/render/opengles2/SDL_render_gles2.c
changeset 6237 240f1bced46b
parent 6232 37e8d0736366
child 6246 c70ec935a4bb
--- a/src/render/opengles2/SDL_render_gles2.c	Thu Jan 19 20:25:09 2012 -0500
+++ b/src/render/opengles2/SDL_render_gles2.c	Thu Jan 19 21:06:47 2012 -0500
@@ -40,7 +40,7 @@
     GLES2_CreateRenderer,
     {
         "opengles2",
-        (SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC),
+        (SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_TARGETTEXTURE),
         4,
         {SDL_PIXELFORMAT_ABGR8888,
         SDL_PIXELFORMAT_ARGB8888,
@@ -1447,7 +1447,7 @@
         return NULL;
     }
     renderer->info = GLES2_RenderDriver.info;
-    renderer->info.flags = SDL_RENDERER_ACCELERATED;
+    renderer->info.flags = SDL_RENDERER_ACCELERATED | SDL_RENDERER_TARGETTEXTURE;
     renderer->driverdata = rdata;
     renderer->window = window;