Fixed: Need to initialize OpenGL driver

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent a86a013a16
commit be0951f21f

@ -145,6 +145,7 @@ void CSystem::GatherOpenGLInfo()
try try
{ {
NL3D::IDriver *driver = NL3D::CDRU::createGlDriver(); NL3D::IDriver *driver = NL3D::CDRU::createGlDriver();
driver->init(0);
GetVideoModes( openglInfo.modes, driver ); GetVideoModes( openglInfo.modes, driver );
driver->release(); driver->release();
} }

Loading…
Cancel
Save