Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

We've already crashed by this point if we don't have a renderer. The …

…calling code should check this.
  • Loading branch information
slouken committed Jan 21, 2012
1 parent 002fff9 commit 79fbb934e9cb5e89b9989ad4ae403541a2030a39
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/render/direct3d/SDL_render_d3d.c
@@ -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) {

0 comments on commit 79fbb93

Please sign in to comment.