From cf0e9316c2aa676427b8a57216603ec03acf7263 Mon Sep 17 00:00:00 2001 From: Alan Tse Date: Fri, 15 Sep 2023 18:34:34 -0700 Subject: [PATCH] fix: remove forced settings for shadercache (#95) Fixes regression from 0b49ae9. ShaderCache settings would always be default. Removing redundant load settings exposed where we were setting default settings for ShaderCache. This is unnecessary due to default values and the fact we ship a config file that is fully populated. --- src/XSEPlugin.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/XSEPlugin.cpp b/src/XSEPlugin.cpp index 0c30f81bd..6f4da8b28 100644 --- a/src/XSEPlugin.cpp +++ b/src/XSEPlugin.cpp @@ -94,10 +94,6 @@ void MessageHandler(SKSE::MessagingInterface::Message* message) auto& shaderCache = SIE::ShaderCache::Instance(); - shaderCache.SetEnabled(true); - shaderCache.SetAsync(true); - shaderCache.SetDiskCache(true); - shaderCache.SetDump(false); shaderCache.ValidateDiskCache(); if (LightLimitFix::GetSingleton()->loaded) {