Skip to content
Snippets Groups Projects
Commit b0c75254 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

d3d11_quad: fix bogus pointer type on reset

It should behave the same but it's the wrong type.
parent ac6c3502
No related branches found
No related tags found
1 merge request!5563[3.0] d3d11_quad: fix bogus pointer type on reset
Pipeline #480044 passed with stage
in 15 minutes and 12 seconds
......@@ -74,7 +74,7 @@ void D3D11_RenderQuad(d3d11_device_t *d3d_dev, d3d_quad_t *quad,
/* force unbinding the input texture, otherwise we get:
* OMSetRenderTargets: Resource being set to OM RenderTarget slot 0 is still bound on input! */
ID3D11RenderTargetView *reset[D3D11_MAX_SHADER_VIEW] = { 0 };
ID3D11ShaderResourceView *reset[D3D11_MAX_SHADER_VIEW] = { 0 };
ID3D11DeviceContext_PSSetShaderResources(d3d_dev->d3dcontext, 0, quad->resourceCount, reset);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment