This commit is contained in:
Jack Andersen
2016-02-15 19:47:40 -10:00
2 changed files with 68 additions and 7 deletions

View File

@@ -854,6 +854,9 @@ struct GLCommandQueue : IGraphicsCommandQueue
self->m_parent->makeCurrent();
if (glewInit() != GLEW_OK)
Log.report(LogVisor::FatalError, "unable to init glew");
const GLubyte* version = glGetString(GL_VERSION);
SystemString v(reinterpret_cast<const char*>(version));
Log.report(LogVisor::Info, _S("OpenGL Version: %s"), v.c_str());
self->m_parent->postInit();
}
self->m_initcv.notify_one();