rename the DwmEnableComposition variable
authorRudolf Polzer <divVerent@xonotic.org>
Fri, 21 Jan 2011 08:13:40 +0000 (09:13 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 21 Jan 2011 08:13:40 +0000 (09:13 +0100)
radiant/main.cpp

index 15baa3c..a7c2242 100644 (file)
@@ -567,9 +567,9 @@ int main (int argc, char* argv[])
   lib = LoadLibrary("dwmapi.dll");
   if(lib != 0)
   {
-         void (WINAPI *DwmEnableComposition) (bool bEnable) = (void (WINAPI *) (bool bEnable)) GetProcAddress(lib, "DwmEnableComposition");
-         if(DwmEnableComposition)
-                 DwmEnableComposition(FALSE);
+         void (WINAPI *qDwmEnableComposition) (bool bEnable) = (void (WINAPI *) (bool bEnable)) GetProcAddress(lib, "DwmEnableComposition");
+         if(qDwmEnableComposition)
+                 qDwmEnableComposition(FALSE);
          FreeLibrary(lib);
   }
 #endif