Merge pull request #642 from tehnick/fix-build-with-gcc5.x
osgViewer: fix build with GCC < 6.x
This commit is contained in:
commit
68a9eb237b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user