libretro: support VMU and lightgun crosshair with dx11 OIT renderer
OIT support was missing Issue #525
This commit is contained in:
parent
083a1c85a8
commit
3872a6b475
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue