mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
Make global GetRealFunctions more unique (don't want to collide)
This commit is contained in:
@@ -306,7 +306,7 @@ class OpenGLHook : LibraryHook
|
||||
|
||||
static OpenGLHook glhooks;
|
||||
|
||||
const GLHookSet &GetRealFunctions()
|
||||
const GLHookSet &GetRealGLFunctions()
|
||||
{
|
||||
if(!m_PopulatedHooks)
|
||||
m_PopulatedHooks = PopulateHooks();
|
||||
@@ -854,7 +854,7 @@ bool OpenGLHook::PopulateHooks()
|
||||
|
||||
OpenGLHook OpenGLHook::glhooks;
|
||||
|
||||
const GLHookSet &GetRealFunctions() { return OpenGLHook::glhooks.GetRealFunctions(); }
|
||||
const GLHookSet &GetRealGLFunctions() { return OpenGLHook::glhooks.GetRealGLFunctions(); }
|
||||
|
||||
void MakeContextCurrent(GLWindowingData data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user