1
0
Fork 0

Merge pull request #111663 from LanzaSchneider/patch-4

Fix compilation errors when `disable_xr=yes`
This commit is contained in:
Thaddeus Crews 2025-10-15 16:31:05 -05:00
commit ca524532e6
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 2 additions and 2 deletions

View File

@ -1118,7 +1118,7 @@ bool Viewport::_set_size(const Size2i &p_size, const Size2 &p_size_2d_override,
stretch_transform = stretch_transform_new;
font_oversampling = new_font_oversampling;
#ifndef _3D_DISABLED
#ifndef XR_DISABLED
if (!use_xr) {
#endif
@ -1128,7 +1128,7 @@ bool Viewport::_set_size(const Size2i &p_size, const Size2 &p_size_2d_override,
RS::get_singleton()->viewport_set_size(viewport, 0, 0);
}
#ifndef _3D_DISABLED
#ifndef XR_DISABLED
} // if (!use_xr)
#endif