1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Shader Baker: Build when deprecated=no

Shader Baker was using the unadorned `VERSION_NUMBER` and `VERSION_HASH` symbols,
which are no longer defined when `deprecated=no` is set.
This commit is contained in:
Mike Owens
2025-05-28 19:37:02 -04:00
parent de37627404
commit 5f2eb6de8c

View File

@@ -111,9 +111,9 @@ bool ShaderBakerExportPlugin::_begin_customize_resources(const Ref<EditorExportP
StringBuilder to_hash;
to_hash.append("[GodotVersionNumber]");
to_hash.append(VERSION_NUMBER);
to_hash.append(GODOT_VERSION_NUMBER);
to_hash.append("[GodotVersionHash]");
to_hash.append(VERSION_HASH);
to_hash.append(GODOT_VERSION_HASH);
to_hash.append("[Renderer]");
to_hash.append(shader_cache_renderer_name);
customization_configuration_hash = to_hash.as_string().hash64();