Update Renderer_Detector.cpp

merge-requests/28/head
Nemirtingas 2019-12-08 21:20:23 +00:00
parent e72d0590af
commit 02924d986e
1 changed files with 0 additions and 10 deletions

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)