]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
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 15baa3c048323a3fbee78992a77bb543d96138d1..a7c224266ab10592d9fd4d5407f3dff82046808c 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