feat: updated engine
This commit is contained in:
parent
cbe99774ff
commit
f4cf6b3999
6607 changed files with 910135 additions and 430025 deletions
|
|
@ -30,9 +30,8 @@
|
|||
|
||||
#include "renderer_compositor.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
|
||||
#ifndef XR_DISABLED
|
||||
#include "core/config/project_settings.h"
|
||||
#include "servers/xr/xr_server.h"
|
||||
#endif // XR_DISABLED
|
||||
|
||||
|
|
@ -45,11 +44,6 @@ RendererCompositor *RendererCompositor::create() {
|
|||
return _create_func();
|
||||
}
|
||||
|
||||
void RendererCompositor::set_boot_image(const Ref<Image> &p_image, const Color &p_color, bool p_scale, bool p_use_filter) {
|
||||
RenderingServer::SplashStretchMode stretch_mode = RenderingServer::map_scaling_option_to_stretch_mode(p_scale);
|
||||
set_boot_image_with_stretch(p_image, p_color, stretch_mode, p_use_filter);
|
||||
}
|
||||
|
||||
bool RendererCompositor::is_xr_enabled() const {
|
||||
return xr_enabled;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue