Remove call to FreeLibrary - GetModuleHandle doesn't add to lib refcount

This commit is contained in:
baldurk
2021-04-29 10:35:35 +01:00
parent 93f0997c12
commit f28a3a548f
-2
View File
@@ -2648,8 +2648,6 @@ bool WrappedID3D12Device::EndFrameCapture(void *dev, void *wnd)
SAFE_DELETE(captureWriter);
}
}
FreeLibrary(D3D12Core);
}
RenderDoc::Inst().FinishCaptureWriting(rdc, m_CapturedFrames.back().frameNumber);