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:
authorJan Klass <kissaki@posteo.de>2017-07-12 14:51:18 +0300
committerJan Klass <kissaki@posteo.de>2017-07-13 14:12:45 +0300
commit7689647a5028bfb4ce96c26caee6e1e955fa02a0 (patch)
tree49682415a0fe1c26ca6a5e2a7c56c928c09eeacb /overlay/dxgi.cpp
parent9a2fa24497f3d87ad5ff469788c38741d52770d5 (diff)
Remove type variable prefix
Diffstat (limited to 'overlay/dxgi.cpp')
-rw-r--r--overlay/dxgi.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/overlay/dxgi.cpp b/overlay/dxgi.cpp
index 58748682c..7c20f40e7 100644
--- a/overlay/dxgi.cpp
+++ b/overlay/dxgi.cpp
@@ -120,7 +120,7 @@ void checkDXGIHook(bool preonly) {
return;
}
- if (dxgi->iOffsetPresent == 0 || dxgi->iOffsetResize == 0)
+ if (dxgi->offsetPresent == 0 || dxgi->offsetResize == 0)
return;
bCheckHookActive = true;
@@ -158,8 +158,8 @@ void hookDXGI(HMODULE hDXGI, bool preonly) {
// The module seems to match the one we prepared d3dd for.
unsigned char *raw = (unsigned char *) hDXGI;
- HookPresentRaw((voidFunc)(raw + dxgi->iOffsetPresent));
- HookResizeRaw((voidFunc)(raw + dxgi->iOffsetResize));
+ HookPresentRaw((voidFunc)(raw + dxgi->offsetPresent));
+ HookResizeRaw((voidFunc)(raw + dxgi->offsetResize));
} else if (! preonly) {
ods("DXGI: Interface changed, can't rawpatch. Current: %ls ; Previously: %ls", modulename, dxgi->wcFileName);
@@ -184,8 +184,8 @@ extern "C" __declspec(dllexport) void __cdecl PrepareDXGI() {
ods("DXGI: Preparing static data for DXGI Injection");
dxgi->wcFileName[0] = 0;
- dxgi->iOffsetPresent = 0;
- dxgi->iOffsetResize = 0;
+ dxgi->offsetPresent = 0;
+ dxgi->offsetResize = 0;
// Make sure this is Vista or greater as quite a number of <=WinXP users have fake DX10 libs installed
OSVERSIONINFOEXW ovi;
@@ -214,9 +214,9 @@ extern "C" __declspec(dllexport) void __cdecl PrepareDXGI() {
pFactory->EnumAdapters1(0, &pAdapter);
/// Offsets have to be identified and initialized only once.
- bool initializeDXGIData = !dxgi->iOffsetPresent && !dxgi->iOffsetResize;
+ bool initializeDXGIData = !dxgi->offsetPresent && !dxgi->offsetResize;
PrepareDXGI10(pAdapter, initializeDXGIData);
- initializeDXGIData = !dxgi->iOffsetPresent && !dxgi->iOffsetResize;
+ initializeDXGIData = !dxgi->offsetPresent && !dxgi->offsetResize;
PrepareDXGI11(pAdapter, initializeDXGIData);
pFactory->Release();