1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[d3d10] Initialize DSV pointer in OMGetRenderTargets

Completely redundant, but apparently MSVC refuses to compile the
code otherwise. Refs #801.
This commit is contained in:
Philip Rebohle 2018-12-07 13:42:14 +01:00
parent 86d4d31b7c
commit ef63328eb8
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1506,7 +1506,7 @@ namespace dxvk {
D3D10DeviceLock lock = LockDevice();
ID3D11RenderTargetView* d3d11Rtv[D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT];
ID3D11DepthStencilView* d3d11Dsv;
ID3D11DepthStencilView* d3d11Dsv = nullptr;
m_context->OMGetRenderTargets(NumViews,
ppRenderTargetViews ? d3d11Rtv : nullptr,