tomasz.krosnowski Posted August 23, 2013 Share Posted August 23, 2013 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
frustum Posted August 23, 2013 Share Posted August 23, 2013 Please use console commands to change video mode. Unigine::App is not designed for video mode changes. console->run("video_mode ..."); Link to comment
Recommended Posts