Fix crash with --no-graphics

This commit is contained in:
Flakebi 2014-11-20 21:22:58 +01:00
parent 10ffb5411e
commit aecd9c4b80

View File

@ -515,6 +515,7 @@ void IrrDriver::initDevice()
#else
m_glsl = (m_gl_major_version > 3 || (m_gl_major_version == 3 && m_gl_minor_version >= 1));
#endif
if (!ProfileWorld::isNoGraphics())
initGL();
m_sync = 0;