Fixed: Need to initialize OpenGL driver

This commit is contained in:
kervala 2015-12-25 15:25:08 +01:00
parent 1b136d55aa
commit 328ad17bc4

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