Use static image when opengl context is not available
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@@ -325,3 +325,9 @@ void SkinOpenGLWindow::setElytraVisible(bool visible)
|
||||
if (m_scene)
|
||||
m_scene->setElytraVisible(visible);
|
||||
}
|
||||
|
||||
bool SkinOpenGLWindow::hasOpenGL()
|
||||
{
|
||||
QOpenGLContext ctx;
|
||||
return ctx.create();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user