summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandros Frantzis <alexandros.frantzis@linaro.org>2011-12-02 14:14:47 +0200
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-12-03 09:57:58 +0000
commit4a3917d27cfc37071595b9544ec5775d8ce39c7b (patch)
tree9e612c23791b2913663690c4b69595a6a48e2f80
parente9b573d7ad3a929bc2b5a171bdcec93dbe199561 (diff)
Use libGLESv2.so.2 as the OpenGL ES 2.0 library SONAME.
Although the spec doesn't propose a SONAME, this seems to be the most widely adopted name in the Linux world.
-rw-r--r--glws_egl_xlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/glws_egl_xlib.cpp b/glws_egl_xlib.cpp
index 211cb62..d614d78 100644
--- a/glws_egl_xlib.cpp
+++ b/glws_egl_xlib.cpp
@@ -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;