Fixed: Need to initialize OpenGL driver
This commit is contained in:
parent
8d11055fd8
commit
525b7fe612
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue