]> git.cworth.org Git - apitrace/commitdiff
Use libGLESv2.so.2 as the OpenGL ES 2.0 library SONAME.
authorAlexandros Frantzis <alexandros.frantzis@linaro.org>
Fri, 2 Dec 2011 12:14:47 +0000 (14:14 +0200)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 3 Dec 2011 09:57:58 +0000 (09:57 +0000)
Although the spec doesn't propose a SONAME, this seems to be the most
widely adopted name in the Linux world.

glws_egl_xlib.cpp

index 211cb62b3b7eecbf4c88427fb1545550adb0237d..d614d7883882bb96060e957032d7c61a36d11a30 100644 (file)
@@ -344,7 +344,7 @@ createContext(const Visual *_visual, Context *shareContext, Profile profile)
         eglBindAPI(EGL_OPENGL_ES_API);
         break;
     case PROFILE_ES2:
-        load("libGLESv2.so.1");
+        load("libGLESv2.so.2");
         eglBindAPI(EGL_OPENGL_ES_API);
         attribs.add(EGL_CONTEXT_CLIENT_VERSION, 2);
         break;