mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 05:27:58 +00:00
Reimplement context selection for linux
This commit is contained in:
@@ -824,6 +824,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();
|
||||
|
||||
Reference in New Issue
Block a user