Use get_core_proc_address() on win32.

This is needed for glGetString() lookup to work, since
wglGetProcAddress() returns NULL for core procs.
macos/v1.5.9
Eric Anholt 11 years ago
parent 4eaf4bfe21
commit f4992e1518
  1. 4
      src/gen_dispatch.py

@ -625,9 +625,9 @@ for file in args.files:
generator.sort_functions() generator.sort_functions()
generator.resolve_aliases() generator.resolve_aliases()
generator.fixup_bootstrap_function('glGetString', generator.fixup_bootstrap_function('glGetString',
'epoxy_get_proc_address({0})') 'epoxy_get_core_proc_address({0}, 10)')
generator.fixup_bootstrap_function('glGetIntegerv', 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 # While this is technically exposed as a GLX extension, it's
# required to be present as a public symbol by the Linux OpenGL # required to be present as a public symbol by the Linux OpenGL

Loading…
Cancel
Save