wait thread to avoid strange OSX behavior failing to lock the mutex

This commit is contained in:
2019-05-23 19:27:07 +02:00
parent 37491d9fe1
commit 24d00b6eef

View File

@@ -504,6 +504,7 @@ void NodeStrokePreview::draw_stroke()
s_running = true;
s_renderer = std::thread([] {
BT_SetTerminate();
std::this_thread::sleep_for(std::chrono::milliseconds(100));
App::I.async_start();
m_sampler_linear.create();
m_sampler_linear_repeat.create(GL_LINEAR, GL_REPEAT);