diff options
author | Eric Anholt <eric@anholt.net> | 2014-01-31 15:28:13 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-01-31 15:30:22 -0800 |
commit | 72e57908c678ed7e6e50fc47a08c21c47f07d3dd (patch) | |
tree | 79155cdb0784fe855e6cb09ad4bc7ebae58b3b61 /src | |
parent | 46953a662c4c73ceca94ea59c00d8b02d43cbc03 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/dispatch_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispatch_common.c b/src/dispatch_common.c index 38a5f67..289694a 100644 --- a/src/dispatch_common.c +++ b/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 * |