add ifdef
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user