Update Renderer_Detector.cpp
parent
e72d0590af
commit
02924d986e
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue