From 55afe188728828e8cd47538ab1841b0d6eb432a4 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 23 Jun 2021 19:34:06 +0200 Subject: [PATCH] Move D3D11Draw call back for now - should make OSK work again and shaders --- gfx/drivers/d3d11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/d3d11.c b/gfx/drivers/d3d11.c index 1119cb89d7..834117bd49 100644 --- a/gfx/drivers/d3d11.c +++ b/gfx/drivers/d3d11.c @@ -1610,9 +1610,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);