Skip to content

Commit

Permalink
fix: remove forced settings for shadercache (#95)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alandtse authored Sep 16, 2023
1 parent a59a933 commit cf0e931
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/XSEPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit cf0e931

Please sign in to comment.