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 2 of 5 in a8f540f

@@ -447,7 +447,7 @@ GL_CreateRenderer(SDL_Window * window, Uint32 flags)
renderer->GL_BindTexture = GL_BindTexture;
renderer->GL_UnbindTexture = GL_UnbindTexture;
renderer->info = GL_RenderDriver.info;
renderer->info.flags = SDL_RENDERER_ACCELERATED;
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.