summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl
diff options
context:
space:
mode:
authorJaeyoon Jung <jaeyoon.jung@lge.com>2015-06-05 17:01:25 +0900
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-06-08 12:10:25 +0000
commit5772d7fe06fce66abfbbe0f5680bd43498e6132b (patch)
tree6541447e2d333de8c670e82d106a447ee56950fc /src/gui/opengl
parent7672e1a8eb3f87ac8d1b527d0c9ff78c5f9f9f8c (diff)
Load GLESv2 library with correct major version
Make sure GLESv2 library to be loaded even when the symlink of .so is not installed. Change-Id: Ie7c810a137cebc7fa59612830e3643861b532fdb Reviewed-by: Jaeyoon Jung <jaeyoon.jung@lge.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/gui/opengl')
-rw-r--r--src/gui/opengl/qopenglfunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopenglfunctions.cpp b/src/gui/opengl/qopenglfunctions.cpp
index b9d674fd3b..6219213f2e 100644
--- a/src/gui/opengl/qopenglfunctions.cpp
+++ b/src/gui/opengl/qopenglfunctions.cpp
@@ -3216,7 +3216,7 @@ bool QOpenGLES3Helper::init()
m_gl.setFileName(QStringLiteral("libGLESv2d"));
# endif
# else
- m_gl.setFileName(QStringLiteral("GLESv2"));
+ m_gl.setFileNameAndVersion(QStringLiteral("GLESv2"), 2);
# endif // Q_OS_WIN
return m_gl.load();
#else