Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the codebase which only require those enums and not all the DisplayServer API.
This commit is contained in:
parent
778cf54dab
commit
a447ac95ec
160 changed files with 4584 additions and 4520 deletions
|
|
@ -412,7 +412,7 @@ void RenderingServerDefault::_thread_exit() {
|
|||
}
|
||||
|
||||
void RenderingServerDefault::_thread_loop() {
|
||||
DisplayServer::get_singleton()->gl_window_make_current(DisplayServer::MAIN_WINDOW_ID); // Move GL to this thread.
|
||||
DisplayServer::get_singleton()->gl_window_make_current(DisplayServerEnums::MAIN_WINDOW_ID); // Move GL to this thread.
|
||||
|
||||
while (!exit) {
|
||||
WorkerThreadPool::get_singleton()->yield();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue