Fixed: Need to initialize OpenGL driver

This commit is contained in:
kervala 2015-12-25 15:25:08 +01:00
parent 8d11055fd8
commit 525b7fe612

View file

@ -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();
} }