diff options
author | Bastiaan Olij <mux213@gmail.com> | 2024-03-21 18:58:24 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2024-05-01 14:24:41 +1000 |
commit | cbab7dc04942ccb07a2ca0bc942498a319e57e35 (patch) | |
tree | cbdea1856b04a1e1b6f0c9eb388dd73246306490 /servers/rendering_server.cpp | |
parent | d282e4f0e6b6ebcf3bd6e05cd62f2a8fe1f9a238 (diff) | |
download | redot-engine-cbab7dc04942ccb07a2ca0bc942498a319e57e35.tar.gz |
OpenXR: Change timing of xrWaitFrame and add thread safety features to OpenXR
Diffstat (limited to 'servers/rendering_server.cpp')
-rw-r--r-- | servers/rendering_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp index bbe6b1ad0d..48b6632364 100644 --- a/servers/rendering_server.cpp +++ b/servers/rendering_server.cpp @@ -3426,6 +3426,7 @@ void RenderingServer::_bind_methods() { ClassDB::bind_method(D_METHOD("get_rendering_device"), &RenderingServer::get_rendering_device); ClassDB::bind_method(D_METHOD("create_local_rendering_device"), &RenderingServer::create_local_rendering_device); + ClassDB::bind_method(D_METHOD("is_on_render_thread"), &RenderingServer::is_on_render_thread); ClassDB::bind_method(D_METHOD("call_on_render_thread", "callable"), &RenderingServer::call_on_render_thread); #ifndef DISABLE_DEPRECATED |