mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-14 10:50:13 +01:00
Update Renderer_Detector.cpp
This commit is contained in:
parent
e72d0590af
commit
02924d986e
1 changed files with 0 additions and 10 deletions
|
@ -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 a new issue