We've already crashed by this point if we don't have a renderer. The calling code should check this.
This commit is contained in:
parent
d64668508c
commit
301928014c
1 changed files with 0 additions and 1 deletions
|
@ -576,7 +576,6 @@ D3D_SetTargetTexture(SDL_Renderer * renderer, SDL_Texture * texture)
|
||||||
D3DMATRIX matrix;
|
D3DMATRIX matrix;
|
||||||
HRESULT result;
|
HRESULT result;
|
||||||
|
|
||||||
if (!renderer) return -1;
|
|
||||||
D3D_ActivateRenderer(renderer);
|
D3D_ActivateRenderer(renderer);
|
||||||
|
|
||||||
if (data->NumSimultaneousRTs < 2) {
|
if (data->NumSimultaneousRTs < 2) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue