1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-01 05:45:33 +00:00

Detach the thread used for frame timing

This commit is contained in:
Chris Robinson 2012-12-12 22:02:33 -08:00
parent 34e36fb852
commit 1fb9eef27b

View file

@ -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)