Jump to content

[SOLVED] Set video mode fatal error.


photo

Recommended Posts

I get the fatal error when trying to switch video mode.

In my app idle function i do:
 

   if (app->clearKeyState(Unigine::App::KEY_DELETE))
   {
      std::cout<<"before set vid mode"<<std::endl;
      int res = app->setVideoMode(800,600);
      std::cout<<"set vid more done "<<res<<std::endl;
   }

When I press delete key I get a fatal error. Console output is like:

[...]
Loading "core/properties/unigine.prop" 2 properties 0ms
before set vid mode

Unigine fatal error
Unigine::AppInterface::setVideoMode(): called
Shutdown

What should I do to be able to manage the video modes?

Link to comment
×
×
  • Create New...