Provide default implementation for LibraryHook::OptionsUpdated

This commit is contained in:
baldurk
2018-07-06 22:44:19 +01:00
parent 75623b4487
commit 9ecad14932
11 changed files with 1 additions and 11 deletions
-1
View File
@@ -169,7 +169,6 @@ public:
return true;
}
void OptionsUpdated(const char *libName) {}
private:
static D3D11Hook d3d11hooks;
-1
View File
@@ -122,7 +122,6 @@ public:
return true;
}
void OptionsUpdated(const char *libName) {}
private:
static D3D12Hook d3d12hooks;
-1
View File
@@ -53,7 +53,6 @@ public:
return true;
}
void OptionsUpdated(const char *libName) {}
private:
static D3D8Hook d3d8hooks;
-1
View File
@@ -68,7 +68,6 @@ public:
return true;
}
void OptionsUpdated(const char *libName) {}
private:
static D3D9Hook d3d9hooks;
-1
View File
@@ -92,7 +92,6 @@ public:
return true;
}
void OptionsUpdated(const char *libName) {}
private:
static DXGIHook dxgihooks;
-1
View File
@@ -39,7 +39,6 @@ public:
OpenGLHook() {}
~OpenGLHook() {}
bool CreateHooks(const char *libName) { return false; }
void OptionsUpdated(const char *libName) {}
virtual GLWindowingData MakeContext(GLWindowingData share)
{
RDCUNIMPLEMENTED("MakeContext");
-1
View File
@@ -54,7 +54,6 @@ public:
bool CreateHooks(const char *libName);
void OptionsUpdated(const char *libName) {}
void PopulateEGLFunctions()
{
if(!m_PopulatedHooks)
-1
View File
@@ -79,7 +79,6 @@ public:
return true;
}
void OptionsUpdated(const char *libName) {}
// see callsite in glXSwapBuffers for explanation of why this is necessary
XID UnwrapGLXWindow(XID id)
{
-1
View File
@@ -694,7 +694,6 @@ public:
return true;
}
void OptionsUpdated(const char *libName) {}
static OpenGLHook glhooks;
void PopulateGLFunctions()
+1 -1
View File
@@ -83,7 +83,7 @@ private:
struct LibraryHook
{
virtual bool CreateHooks(const char *libName) = 0;
virtual void OptionsUpdated(const char *libName) = 0;
virtual void OptionsUpdated(const char *libName) {}
};
// this singleton allows you to compile in code that defines a hook for a given library
-1
View File
@@ -141,7 +141,6 @@ public:
return true;
}
void OptionsUpdated(const char *libName) {}
private:
static SysHook syshooks;