Fix typo in gles2 dlsym setup

If you happened to do both GLES2 and GLES1 in a process, it meant that
you'd try to look up v1 procs in the v2 API, and lose.  Caught by
piglit oes_fixed_point-attribute-arrays.
macos/v1.5.9
Eric Anholt 11 years ago
parent 46953a662c
commit 72e57908c6
  1. 2
      src/dispatch_common.c

@ -378,7 +378,7 @@ epoxy_gles1_dlsym(const char *name)
void *
epoxy_gles2_dlsym(const char *name)
{
return do_dlsym(&api.gles1_handle, "libGLESv2.so.2", name, true);
return do_dlsym(&api.gles2_handle, "libGLESv2.so.2", name, true);
}
void *

Loading…
Cancel
Save