add webgl support
This commit is contained in:
@@ -155,7 +155,7 @@ public:
|
||||
#elif defined(__OSX__) && defined(__OBJC__)
|
||||
View* osx_view;
|
||||
AppOSX* osx_app;
|
||||
#elif __LINUX__
|
||||
#elif __LINUX__ || __WEB__
|
||||
GLFWwindow* glfw_window;
|
||||
#endif
|
||||
|
||||
@@ -294,6 +294,7 @@ public:
|
||||
static std::thread render_thread;
|
||||
static std::thread::id render_thread_id;
|
||||
static bool render_running;
|
||||
void render_thread_tick();
|
||||
void render_thread_main();
|
||||
void render_thread_start();
|
||||
void render_thread_stop();
|
||||
@@ -365,6 +366,7 @@ public:
|
||||
static std::thread ui_thread;
|
||||
static std::thread::id ui_thread_id;
|
||||
static bool ui_running;
|
||||
void ui_thread_tick();
|
||||
void ui_thread_main();
|
||||
void ui_thread_start();
|
||||
void ui_thread_stop();
|
||||
|
||||
Reference in New Issue
Block a user