From: Rudolf Polzer Date: Fri, 21 Jan 2011 08:13:40 +0000 (+0100) Subject: rename the DwmEnableComposition variable X-Git-Tag: xonotic-v0.5.0~57 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=96d42ebc73b543851e6b0394534f8cc3eef62d91;p=xonotic%2Fnetradiant.git rename the DwmEnableComposition variable --- diff --git a/radiant/main.cpp b/radiant/main.cpp index 15baa3c0..a7c22426 100644 --- a/radiant/main.cpp +++ b/radiant/main.cpp @@ -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