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

@@ -375,7 +375,7 @@ PSP_CreateRenderer(SDL_Window * window, Uint32 flags)
renderer->DestroyTexture = PSP_DestroyTexture;
renderer->DestroyRenderer = PSP_DestroyRenderer;
renderer->info = PSP_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.