add ifdef

This commit is contained in:
2019-05-23 19:28:11 +02:00
parent 24d00b6eef
commit 8ab7c337e3

View File

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