1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Fix RendererRD crash on start on Intel Macs.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-15 18:18:53 +03:00
parent e5ccaa79e2
commit 472090dd88
3 changed files with 17 additions and 6 deletions

View File

@@ -158,6 +158,11 @@ void RendererCompositorRD::initialize() {
blit.sampler = RD::get_singleton()->sampler_create(RD::SamplerState());
}
#if defined(MACOS_ENABLED) && defined(__x86_64__)
if (scene) {
scene->get_sky()->check_cubemap_array();
}
#endif
}
uint64_t RendererCompositorRD::frame = 1;