From 96d42ebc73b543851e6b0394534f8cc3eef62d91 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 21 Jan 2011 09:13:40 +0100 Subject: [PATCH] rename the DwmEnableComposition variable --- radiant/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2