Index: core/src/fxge/win32/fx_win32_device.cpp |
diff --git a/core/src/fxge/win32/fx_win32_device.cpp b/core/src/fxge/win32/fx_win32_device.cpp |
index debf94d7a6f4303f61b04b5ff3b85bf58749624a..84aec9b8086f998974bde3616cf1d77e2d388072 100644 |
--- a/core/src/fxge/win32/fx_win32_device.cpp |
+++ b/core/src/fxge/win32/fx_win32_device.cpp |
@@ -403,6 +403,7 @@ void CFX_GEModule::InitPlatform() |
} |
OSVERSIONINFO ver; |
ver.dwOSVersionInfoSize = sizeof(ver); |
+#pragma warning(suppress : 4996) // Suppress deprecation warning |
scottmg
2015/01/06 19:48:53
This is globally disabled in Chromium, maybe you w
|
GetVersionEx(&ver); |
pPlatformData->m_bHalfTone = ver.dwMajorVersion >= 5; |
pPlatformData->m_GdiplusExt.Load(); |