Skip to content
Permalink
Browse files

Fixed renderer flags to include support for target textures after the…

… renderer is created.
  • Loading branch information
slouken committed Mar 10, 2014
1 parent 8c7ee70 commit a8f540fe4a6a84af4131515f9ea904e40d1a850f

File 4 of 5 in a8f540f

@@ -1784,7 +1784,7 @@ GLES2_CreateRenderer(SDL_Window *window, Uint32 flags)
return NULL;
}
renderer->info = GLES2_RenderDriver.info;
renderer->info.flags = SDL_RENDERER_ACCELERATED | SDL_RENDERER_TARGETTEXTURE;
renderer->info.flags = (SDL_RENDERER_ACCELERATED | SDL_RENDERER_TARGETTEXTURE);
renderer->driverdata = data;
renderer->window = window;

0 comments on commit a8f540f

Please sign in to comment.