Fix incorrect assert

This commit is contained in:
baldurk
2018-07-18 11:31:52 +01:00
parent c9f3905a8e
commit c753cbf238
+1 -1
View File
@@ -361,7 +361,7 @@ private:
ID3D11DeviceContext **ppImmediateContext) {
// we know that when we come back in here the swapchain parameters will be NULL because
// that's what we pass below
RDCASSERT(!pSwapChainDesc && ppSwapChain);
RDCASSERT(!pSwapChainDesc && !ppSwapChain);
return d3d11hooks.nvapi_CreateDevice_real(
pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion,
ppDevice, pFeatureLevel, ppImmediateContext, outNVLevel);