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:
parent
86d4d31b7c
commit
ef63328eb8
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user