mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 09:56:26 +00:00
hide impossible branch in D3D_UnlockTexture
This commit is contained in:
@@ -724,10 +724,12 @@ D3D_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture)
|
|||||||
data->drawstate.shader = NULL;
|
data->drawstate.shader = NULL;
|
||||||
IDirect3DDevice9_SetPixelShader(data->device, NULL);
|
IDirect3DDevice9_SetPixelShader(data->device, NULL);
|
||||||
IDirect3DDevice9_SetTexture(data->device, 0, NULL);
|
IDirect3DDevice9_SetTexture(data->device, 0, NULL);
|
||||||
|
#if 0
|
||||||
if (texturedata->yuv) {
|
if (texturedata->yuv) {
|
||||||
IDirect3DDevice9_SetTexture(data->device, 1, NULL);
|
IDirect3DDevice9_SetTexture(data->device, 1, NULL);
|
||||||
IDirect3DDevice9_SetTexture(data->device, 2, NULL);
|
IDirect3DDevice9_SetTexture(data->device, 2, NULL);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user