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

@@ -648,10 +648,9 @@ D3D_CreateRenderer(SDL_Window * window, Uint32 flags)
renderer->DestroyTexture = D3D_DestroyTexture;
renderer->DestroyRenderer = D3D_DestroyRenderer;
renderer->info = D3D_RenderDriver.info;
renderer->info.flags = (SDL_RENDERER_ACCELERATED | SDL_RENDERER_TARGETTEXTURE);
renderer->driverdata = data;

renderer->info.flags = SDL_RENDERER_ACCELERATED;

SDL_VERSION(&windowinfo.version);
SDL_GetWindowWMInfo(window, &windowinfo);

0 comments on commit a8f540f

Please sign in to comment.