D3D static texture no-context loading

This commit is contained in:
Jack Andersen
2016-02-16 17:34:21 -10:00
parent 77e9492b43
commit d75a727a5d
3 changed files with 103 additions and 23 deletions

View File

@@ -858,8 +858,7 @@ struct GLCommandQueue : IGraphicsCommandQueue
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());
Log.report(LogVisor::Info, "OpenGL Version: %s", version);
self->m_parent->postInit();
}
self->m_initcv.notify_one();