mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Always render when XR is enabled, even if no OS windows can draw
This commit is contained in:
parent
82cedc83c9
commit
7a5a8597eb
5 changed files with 49 additions and 1 deletions
|
|
@ -4108,7 +4108,7 @@ bool Main::iteration() {
|
|||
|
||||
RenderingServer::get_singleton()->sync(); //sync if still drawing from previous frames.
|
||||
|
||||
if (DisplayServer::get_singleton()->can_any_window_draw() &&
|
||||
if ((DisplayServer::get_singleton()->can_any_window_draw() || DisplayServer::get_singleton()->has_additional_outputs()) &&
|
||||
RenderingServer::get_singleton()->is_render_loop_enabled()) {
|
||||
if ((!force_redraw_requested) && OS::get_singleton()->is_in_low_processor_usage_mode()) {
|
||||
if (RenderingServer::get_singleton()->has_changed()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue