mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 07:35:41 +00:00
Qt: OpenGL display window crash fix
This commit is contained in:
parent
e4e15f234b
commit
8654778298
|
@ -234,7 +234,7 @@ bool OpenGLDisplayWindow::createDeviceContext(QThread* worker_thread, bool debug
|
||||||
if (m_gl_context->create())
|
if (m_gl_context->create())
|
||||||
{
|
{
|
||||||
m_is_gles = m_gl_context->isOpenGLES();
|
m_is_gles = m_gl_context->isOpenGLES();
|
||||||
Log_InfoPrintf("Got a %s %d.%d context", major, minor, m_is_gles ? "OpenGL ES" : "desktop OpenGL");
|
Log_InfoPrintf("Got a %s %d.%d context", m_is_gles ? "OpenGL ES" : "desktop OpenGL", major, minor);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue