Permalink
Browse files

Merge pull request #642 from tehnick/fix-build-with-gcc5.x

osgViewer: fix build with GCC < 6.x
  • Loading branch information...
openscenegraph committed Oct 10, 2018
2 parents b083eeb + b5fa365 commit 68a9eb237bc2e4f17c7c3e2123b811d6b28e5ca1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/osgViewer/GraphicsWindowWin32.cpp
@@ -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

0 comments on commit 68a9eb2

Please sign in to comment.