diff options
author | Kissaki <kissaki@gmx.de> | 2013-05-01 14:44:35 +0400 |
---|---|---|
committer | Kissaki <kissaki@gmx.de> | 2013-06-12 01:03:30 +0400 |
commit | f8f4b0fdec6b1336f59ad70804390af99fc0f698 (patch) | |
tree | 33acca21f69cf052861227dcaacbf84cf180d473 /overlay/d3d10.cpp | |
parent | 11d5305f69d88b38c8e9369e1b772a03a2a44c13 (diff) |
refacs: more elaborative Varnaming; codeformatting
Diffstat (limited to 'overlay/d3d10.cpp')
-rw-r--r-- | overlay/d3d10.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/overlay/d3d10.cpp b/overlay/d3d10.cpp index 13fab7d39..d179b4d3e 100644 --- a/overlay/d3d10.cpp +++ b/overlay/d3d10.cpp @@ -552,8 +552,8 @@ static void HookResizeRaw(voidFunc vfResize) { } void checkDXGIHook(bool preonly) { - static bool bCHActive = false; - if (bCHActive) { + static bool bCheckHookActive = false; + if (bCheckHookActive) { ods("D3D10: Recursion in checkDXGIHook"); return; } @@ -561,7 +561,7 @@ void checkDXGIHook(bool preonly) { if (! dxgi->iOffsetPresent || ! dxgi->iOffsetResize) return; - bCHActive = true; + bCheckHookActive = true; HMODULE hDXGI = GetModuleHandleW(L"DXGI.DLL"); HMODULE hD3D10 = GetModuleHandleW(L"D3D10CORE.DLL"); @@ -598,7 +598,7 @@ void checkDXGIHook(bool preonly) { } } - bCHActive = false; + bCheckHookActive = false; } extern "C" __declspec(dllexport) void __cdecl PrepareDXGI() { |