1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Avoid attempting to load from shader cache when both the user-dir and res-dir are invalid

This commit is contained in:
clayjohn
2025-09-01 12:01:32 -07:00
parent 73da0d2020
commit d90332aa0f
2 changed files with 7 additions and 3 deletions

View File

@@ -142,6 +142,7 @@ private:
static bool shader_cache_save_compressed_zstd;
static bool shader_cache_save_debug;
bool shader_cache_user_dir_valid = false;
bool shader_cache_res_dir_valid = false;
enum StageType {
STAGE_TYPE_VERTEX,