mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
WinRT: simplified a potentially-common error message from D3D11_SetRenderTarget
This commit is contained in:
parent
b0df915737
commit
d4ae392953
@ -1224,7 +1224,7 @@ D3D11_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture)
|
||||
D3D11_TextureData *textureData = (D3D11_TextureData *) texture->driverdata;
|
||||
|
||||
if (!textureData->mainTextureRenderTargetView) {
|
||||
return SDL_SetError(__FUNCTION__ ", specified texture is not a render target");
|
||||
return SDL_SetError("specified texture is not a render target");
|
||||
}
|
||||
|
||||
rendererData->currentOffscreenRenderTargetView = textureData->mainTextureRenderTargetView;
|
||||
|
Loading…
Reference in New Issue
Block a user