iOS: fix crash

due to f3a33642f8
This commit is contained in:
Flyinghead 2025-04-23 16:39:16 +02:00
parent 2ca596ae20
commit ef3d3bd246
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ static void updateAudioSession(Event event, void *)
}
settings.display.dpi = 160.f * scale;
initRenderApi();
#if defined(TARGET_OS_SIMULATOR) && HOST_CPU == CPU_ARM64
#if TARGET_OS_SIMULATOR == 1 && HOST_CPU == CPU_ARM64
if (config::RendererType.get() == RenderType::OpenGL)
{
NSLog(@"🚨🚨🚨 OpenGL renderer is not supported in Apple Silicon Mac 🚨🚨🚨\n");