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>
This commit is contained in:
parent
7672e1a8eb
commit
5772d7fe06
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user