diff options
author | Jesse Natalie <jenatali@ntdev.microsoft.com> | 2020-03-17 10:53:33 -0700 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-08-21 09:44:01 +0000 |
commit | 258ef4d4a4b6c11b141e12e6736b01f408461c1d (patch) | |
tree | aec847637c8bfbac266c59d666de482c990f4745 /meson.build | |
parent | f811ddf5d1fac8a857aadc51278546d5b46d5a2b (diff) |
wgl: Switch to Win10 version defines to enable usage of Win10 WGL callbacks
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6228>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 9bf889659a3..dba847b9f85 100644 --- a/meson.build +++ b/meson.build @@ -932,7 +932,7 @@ elif host_machine.system() == 'sunos' pre_args += '-D__EXTENSIONS__' elif host_machine.system() == 'windows' pre_args += [ - '-D_WINDOWS', '-D_WIN32_WINNT=0x0601', '-DWINVER=0x0601', + '-D_WINDOWS', '-D_WIN32_WINNT=0x0A00', '-DWINVER=0x0A00', '-DPIPE_SUBSYSTEM_WINDOWS_USER', '-D_USE_MATH_DEFINES', # XXX: scons doesn't use this for mingw ] |