Skip to content
Permalink
Browse files

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
  • Loading branch information...
Kissaki committed May 16, 2015
1 parent 771657a commit 834365e2284007dc11776368e030b3a8e01a299b
Showing with 0 additions and 4 deletions.
  1. +0 −2 overlay/d3d10.cpp
  2. +0 −2 overlay/d3d11.cpp
@@ -37,8 +37,6 @@
D3D10Data *d3d10 = NULL;

static bool bHooked = false;
static HardHook hhPresent;
static HardHook hhResize;
static HardHook hhAddRef;
static HardHook hhRelease;

@@ -41,8 +41,6 @@
D3D11Data *d3d11 = NULL;

static bool bHooked = false;
static HardHook hhPresent;
static HardHook hhResize;
static HardHook hhAddRef;
static HardHook hhRelease;

0 comments on commit 834365e

Please sign in to comment.
You can’t perform that action at this time.