diff --git a/src/render/direct3d11/SDL_render_d3d11.cpp b/src/render/direct3d11/SDL_render_d3d11.cpp index a97c407cf..541fcdbcb 100644 --- a/src/render/direct3d11/SDL_render_d3d11.cpp +++ b/src/render/direct3d11/SDL_render_d3d11.cpp @@ -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;