libretro: support VMU and lightgun crosshair with dx11 OIT renderer

OIT support was missing
Issue #525
This commit is contained in:
Flyinghead 2022-02-15 11:06:51 +01:00
parent 083a1c85a8
commit 3872a6b475
1 changed files with 1 additions and 0 deletions

View File

@ -585,6 +585,7 @@ struct DX11OITRenderer : public DX11Renderer
DrawOSD(false); DrawOSD(false);
theDX11Context.setFrameRendered(); theDX11Context.setFrameRendered();
#else #else
theDX11Context.drawOverlay(width, height);
ID3D11RenderTargetView *nullView = nullptr; ID3D11RenderTargetView *nullView = nullptr;
deviceContext->OMSetRenderTargets(1, &nullView, nullptr); deviceContext->OMSetRenderTargets(1, &nullView, nullptr);
deviceContext->PSSetShaderResources(0, 1, &fbTextureView.get()); deviceContext->PSSetShaderResources(0, 1, &fbTextureView.get());