Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKissaki <kissaki@gmx.de>2015-05-16 16:38:41 +0300
committerKissaki <kissaki@gmx.de>2015-05-16 16:38:41 +0300
commit834365e2284007dc11776368e030b3a8e01a299b (patch)
tree5a9378e1a7b93af9bdb0f5a42688d747ff45ae42 /overlay
parent771657acf375fb7f27a0a2b9f86546786c33ba6e (diff)
Cleanup: Remove unused Hooks
* For D3D10 and D3D11 the underlying DXGI provides the present and reset functions. Hence, those hooks are in dxgi.cpp rather than the respective d3d files. ** Remove unused hook variables
Diffstat (limited to 'overlay')
-rw-r--r--overlay/d3d10.cpp2
-rw-r--r--overlay/d3d11.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/overlay/d3d10.cpp b/overlay/d3d10.cpp
index 57fe67063..79e72d975 100644
--- a/overlay/d3d10.cpp
+++ b/overlay/d3d10.cpp
@@ -37,8 +37,6 @@
D3D10Data *d3d10 = NULL;
static bool bHooked = false;
-static HardHook hhPresent;
-static HardHook hhResize;
static HardHook hhAddRef;
static HardHook hhRelease;
diff --git a/overlay/d3d11.cpp b/overlay/d3d11.cpp
index d162ae4c2..9d7c7e6ed 100644
--- a/overlay/d3d11.cpp
+++ b/overlay/d3d11.cpp
@@ -41,8 +41,6 @@
D3D11Data *d3d11 = NULL;
static bool bHooked = false;
-static HardHook hhPresent;
-static HardHook hhResize;
static HardHook hhAddRef;
static HardHook hhRelease;