Make shader JIT off-by-default for arm64 temporarily

This commit is contained in:
wheremyfoodat 2024-01-12 18:40:00 +02:00
parent aaef3b66f9
commit 99e06d8325
2 changed files with 9 additions and 2 deletions

View file

@ -5,7 +5,14 @@
// Remember to initialize every field here to its default value otherwise bad things will happen
struct EmulatorConfig {
bool shaderJitEnabled = true;
// Only enable the shader JIT by default on platforms where it's completely tested
#ifdef PANDA3DS_X64_HOST
static constexpr bool shaderJitDefault = true;
#else
static constexpr bool shaderJitDefault = false;
#endif
bool shaderJitEnabled = shaderJitDefault;
bool discordRpcEnabled = false;
RendererType rendererType = RendererType::OpenGL;