Enable shader JIT by default

This commit is contained in:
wheremyfoodat 2023-08-13 00:48:00 +03:00
parent ccdf8f7722
commit 2f191e8fa2
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
// Remember to initialize every field here to its default value otherwise bad things will happen // Remember to initialize every field here to its default value otherwise bad things will happen
struct EmulatorConfig { struct EmulatorConfig {
bool shaderJitEnabled = false; bool shaderJitEnabled = true;
bool discordRpcEnabled = false; bool discordRpcEnabled = false;
RendererType rendererType = RendererType::OpenGL; RendererType rendererType = RendererType::OpenGL;

View file

@ -54,7 +54,7 @@ void EmulatorConfig::load(const std::filesystem::path& path) {
rendererType = RendererType::OpenGL; rendererType = RendererType::OpenGL;
} }
shaderJitEnabled = toml::find_or<toml::boolean>(gpu, "EnableShaderJIT", false); shaderJitEnabled = toml::find_or<toml::boolean>(gpu, "EnableShaderJIT", true);
} }
} }
} }