Fix travis

This commit is contained in:
Vincent Lejeune 2014-09-22 23:50:53 +02:00
parent e4f38fa244
commit 7ac0c14869
2 changed files with 2 additions and 1 deletions

View File

@ -499,6 +499,7 @@ void IrrDriver::initDevice()
m_glsl = (m_gl_major_version > 3 || (m_gl_major_version == 3 && m_gl_minor_version >= 1));
#endif
initGL();
m_sync = 0;
// Parse extensions
hasVSLayer = false;

View File

@ -208,7 +208,7 @@ private:
bool m_need_ubo_workaround;
bool m_need_rh_workaround;
bool m_need_srgb_workaround;
GLsync m_sync = 0;
GLsync m_sync;
/** The irrlicht device. */
IrrlichtDevice *m_device;
/** Irrlicht scene manager. */