mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-11 20:34:47 +00:00
Fixed: Need to initialize OpenGL driver
This commit is contained in:
parent
1b136d55aa
commit
328ad17bc4
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