jareknz Posted October 2, 2013 Posted October 2, 2013 Hi, I have very simple test application which initializes Unigine, loads world (valley) and enters a loop calling update(), render() and swap() on Unigine::Engine instance. Everything works fine when application window has input focus. When the focus is lost, application stops because Engine::update() methods blocks indefinitely until focus is regained. Is it normal behaviour ? I would definitely prefer graphics working regardless of window input focus. I'm still a beginner with Unigine, so it's perfectly possible I made some basic mistake. Thanks in advance for any help. Regards, Jarek
binstream Posted October 2, 2013 Posted October 2, 2013 https://developer.unigine.com/en/docs/1.0/scripting/library/engine/engine.app#engine.app.setUpdate_int engine.app.setUpdate(1)
jareknz Posted October 4, 2013 Author Posted October 4, 2013 > engine.app.setUpdate(1) Thanks a lot, it seems to be OK now. Regards, Jarek
Recommended Posts