summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-10 14:03:21 -0800
committerEric Anholt <eric@anholt.net>2013-12-10 14:11:26 -0800
commitf4992e151856baf9e713dee6bc773a520eacc114 (patch)
tree1323a4b9b749de7b936fd95e7678063c369c3a0f /src
parent4eaf4bfe215572e82b8ffab029e3527ae910f507 (diff)
Use get_core_proc_address() on win32.
This is needed for glGetString() lookup to work, since wglGetProcAddress() returns NULL for core procs.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/gen_dispatch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen_dispatch.py b/src/gen_dispatch.py
index 0de4274..373b9ff 100755
--- a/src/gen_dispatch.py
+++ b/src/gen_dispatch.py
@@ -625,9 +625,9 @@ for file in args.files:
generator.sort_functions()
generator.resolve_aliases()
generator.fixup_bootstrap_function('glGetString',
- 'epoxy_get_proc_address({0})')
+ 'epoxy_get_core_proc_address({0}, 10)')
generator.fixup_bootstrap_function('glGetIntegerv',
- 'epoxy_get_proc_address({0})')
+ 'epoxy_get_core_proc_address({0}, 10)')
# While this is technically exposed as a GLX extension, it's
# required to be present as a public symbol by the Linux OpenGL