Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
We've already crashed by this point if we don't have a renderer. The …
Browse files Browse the repository at this point in the history
…calling code should check this.
  • Loading branch information
slouken committed Jan 21, 2012
1 parent 002fff9 commit 79fbb93
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/render/direct3d/SDL_render_d3d.c
Expand Up @@ -576,7 +576,6 @@ D3D_SetTargetTexture(SDL_Renderer * renderer, SDL_Texture * texture)
D3DMATRIX matrix;
HRESULT result;

if (!renderer) return -1;
D3D_ActivateRenderer(renderer);

if (data->NumSimultaneousRTs < 2) {
Expand Down

0 comments on commit 79fbb93

Please sign in to comment.