osgViewer: fix build with GCC < 6.x

Tested during cross-compilation for MS Windows using MinGW.
This commit is contained in:
Boris Pek 2018-10-10 02:00:35 +03:00
parent 81998b0e65
commit b5fa3653fe

View File

@ -799,7 +799,7 @@ Win32WindowingSystem::Win32WindowingSystem()
if (hModuleShore) {
setProcessDpiAwareness = (SetProcessDpiAwarenessFunc *) GetProcAddress(hModuleShore, "SetProcessDpiAwareness");
if (setProcessDpiAwareness) {
(*setProcessDpiAwareness)(PROCESS_DPI_AWARENESS::PROCESS_PER_MONITOR_DPI_AWARE);
(*setProcessDpiAwareness)(PROCESS_PER_MONITOR_DPI_AWARE);
}
}
// #endif