diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-10 14:03:21 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-10 14:11:26 -0800 |
commit | f4992e151856baf9e713dee6bc773a520eacc114 (patch) | |
tree | 1323a4b9b749de7b936fd95e7678063c369c3a0f /src | |
parent | 4eaf4bfe215572e82b8ffab029e3527ae910f507 (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-x | src/gen_dispatch.py | 4 |
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 |