Change fallback OpenGL library name

Change-Id: I7f07699f860d0300f221b980b7d2fbe0dacbf4a1
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
This commit is contained in:
Laszlo Agocs 2014-09-24 09:40:53 +02:00
parent b3bc6b9f7c
commit 276a5f5acf

View File

@ -163,7 +163,7 @@ void *QWindowsOpengl32DLL::resolve(const char *name)
bool QWindowsOpengl32DLL::init(bool softwareRendering)
{
const QByteArray opengl32 = QByteArrayLiteral("opengl32.dll");
const QByteArray swopengl = QByteArrayLiteral("QtSoftwareOpenGL.dll");
const QByteArray swopengl = QByteArrayLiteral("opengl32sw.dll");
QByteArray openglDll = qgetenv("QT_OPENGL_DLL");
if (openglDll.isEmpty())