mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(d3d11) Don't draw content without a texture bound
This commit is contained in:
parent
9afa30af5e
commit
ed2d6b1730
@ -1611,10 +1611,9 @@ static bool d3d11_gfx_frame(
|
||||
D3D11SetPShaderSamplers(
|
||||
context, 0, 1, &d3d11->samplers[RARCH_FILTER_UNSPEC][RARCH_WRAP_DEFAULT]);
|
||||
D3D11SetVShaderConstantBuffers(context, 0, 1, &d3d11->frame.ubo);
|
||||
D3D11Draw(context, 4, 0);
|
||||
}
|
||||
|
||||
D3D11Draw(context, 4, 0);
|
||||
|
||||
D3D11SetRasterizerState(context, d3d11->scissor_enabled);
|
||||
D3D11SetScissorRects(d3d11->context, 1, &d3d11->scissor);
|
||||
D3D11SetBlendState(context, d3d11->blend_enable, NULL, D3D11_DEFAULT_SAMPLE_MASK);
|
||||
|
Loading…
x
Reference in New Issue
Block a user