Skip to content

Commit

Permalink
WinRT: simplified a potentially-common error message from D3D11_SetRe…
Browse files Browse the repository at this point in the history
…nderTarget
  • Loading branch information
DavidLudwig committed Dec 25, 2013
1 parent b0df915 commit d4ae392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/direct3d11/SDL_render_d3d11.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit d4ae392

Please sign in to comment.