mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Need to completely disable GL hook if dll isn't loaded as layer
This commit is contained in:
@@ -206,9 +206,8 @@ class OpenGLHook : LibraryHook
|
||||
public:
|
||||
OpenGLHook()
|
||||
{
|
||||
// temp hack
|
||||
if(GetModuleHandleA("vulkan.0.dll") == NULL)
|
||||
LibraryHooks::GetInstance().RegisterHook(DLL_NAME, this);
|
||||
// VKTODOHIGH temporary hack while GL hooks are crashing vulkan
|
||||
//LibraryHooks::GetInstance().RegisterHook(DLL_NAME, this);
|
||||
|
||||
m_GLDriver = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user