Skip to content

Commit 5f2eb6d

Browse files
committed
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.
1 parent de37627 commit 5f2eb6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editor/plugins/shader_baker_export_plugin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ bool ShaderBakerExportPlugin::_begin_customize_resources(const Ref<EditorExportP
111111

112112
StringBuilder to_hash;
113113
to_hash.append("[GodotVersionNumber]");
114-
to_hash.append(VERSION_NUMBER);
114+
to_hash.append(GODOT_VERSION_NUMBER);
115115
to_hash.append("[GodotVersionHash]");
116-
to_hash.append(VERSION_HASH);
116+
to_hash.append(GODOT_VERSION_HASH);
117117
to_hash.append("[Renderer]");
118118
to_hash.append(shader_cache_renderer_name);
119119
customization_configuration_hash = to_hash.as_string().hash64();

0 commit comments

Comments
 (0)