mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 08:45:32 +00:00
Detach the thread used for frame timing
This commit is contained in:
parent
34e36fb852
commit
1fb9eef27b
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ namespace MWRender
|
|||
//SDL_AddTimer(delay, sdl_refresh_timer_cb, is);
|
||||
//is->refresh_queue.push_back (delay);
|
||||
boost::system_time t = boost::get_system_time() + boost::posix_time::milliseconds(delay);
|
||||
boost::thread (boost::bind(&timer_callback, t, is));
|
||||
boost::thread (boost::bind(&timer_callback, t, is)).detach();
|
||||
}
|
||||
|
||||
void video_display(VideoState *is)
|
||||
|
|
Loading…
Reference in a new issue