update osx project
This commit is contained in:
14
src/app.cpp
14
src/app.cpp
@@ -24,6 +24,20 @@ void destroy_window();
|
||||
|
||||
App* App::I = nullptr; // singleton
|
||||
|
||||
std::deque<std::packaged_task<void()>> App::render_tasklist;
|
||||
std::mutex App::render_task_mutex;
|
||||
std::condition_variable App::render_cv;
|
||||
std::thread App::render_thread;
|
||||
std::thread::id App::render_thread_id;
|
||||
bool App::render_running = false;
|
||||
|
||||
std::deque<std::packaged_task<void()>> App::ui_tasklist;
|
||||
std::mutex App::ui_task_mutex;
|
||||
std::condition_variable App::ui_cv;
|
||||
std::thread App::ui_thread;
|
||||
std::thread::id App::ui_thread_id;
|
||||
bool App::ui_running = false;
|
||||
|
||||
void App::create()
|
||||
{
|
||||
width = 1920/2;
|
||||
|
||||
Reference in New Issue
Block a user