mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
Fixed: Need to initialize OpenGL driver
--HG-- branch : develop
This commit is contained in:
parent
a86a013a16
commit
be0951f21f
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