Update Renderer_Detector.cpp

This commit is contained in:
Nemirtingas 2019-12-08 21:20:23 +00:00
parent e72d0590af
commit 02924d986e

View file

@ -153,16 +153,6 @@ BOOL WINAPI Renderer_Detector::MywglMakeCurrent(HDC hDC, HGLRC hGLRC)
return res; return res;
} }
void __stdcall Renderer_Detector::MyvkCmdEndRenderPass(void* commandBuffer)
{
Renderer_Detector& inst = Renderer_Detector::Inst();
_vkCmdEndRenderPass(commandBuffer);
if (!inst.stop_retry())
{
Vulkan_Hook::Inst()->start_hook();
}
}
void Renderer_Detector::HookDXGIPresent(IDXGISwapChain* pSwapChain) void Renderer_Detector::HookDXGIPresent(IDXGISwapChain* pSwapChain)
{ {
if (!_dxgi_hooked) if (!_dxgi_hooked)