diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-11-19 17:11:39 +0100 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-11-19 17:11:39 +0100 |
commit | 85c5baae7b3e09e62ed4028fc434e7245a9f97bb (patch) | |
tree | 80eb2823b9ec6ef3840dc49d29e286d64d7e86d7 /vcl | |
parent | a4bcb8c0be3b5b404fb84e2954f1b22a50e85a31 (diff) |
opengl: use correct hex number for Win 10 (Major 10 -> hex A)
Change-Id: Ib54fe6394173e905ef8c395ced86692290959369
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/win/WinDeviceInfo.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index 5083f46422d5..c524398312a7 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -200,13 +200,13 @@ uint32_t ParseIDFromDeviceID(const OUString &key, const char *prefix, int length // based on http://msdn.microsoft.com/en-us/library/ms724834(VS.85).aspx enum { kWindowsUnknown = 0, - kWindowsXP = 0x50001, - kWindowsServer2003 = 0x50002, - kWindowsVista = 0x60000, - kWindows7 = 0x60001, - kWindows8 = 0x60002, - kWindows8_1 = 0x60003, - kWindows10 = 0x100000 + kWindowsXP = 0x00050001, + kWindowsServer2003 = 0x00050002, + kWindowsVista = 0x00060000, + kWindows7 = 0x00060001, + kWindows8 = 0x00060002, + kWindows8_1 = 0x00060003, + kWindows10 = 0x000A0000 // Major 10 Minor 0 }; |