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

Merge pull request #98747 from tetrapod00/standardize-renderer-strings

Standardize terms for renderers in error strings
This commit is contained in:
Thaddeus Crews
2024-12-13 16:19:37 -06:00
18 changed files with 39 additions and 39 deletions

View File

@@ -9659,7 +9659,7 @@ Error ShaderLanguage::_parse_shader(const HashMap<StringName, FunctionInfo> &p_f
--texture_uniforms;
--texture_binding;
if (OS::get_singleton()->get_current_rendering_method() != "forward_plus") {
_set_error(RTR("'hint_normal_roughness_texture' is only available when using the Forward+ backend."));
_set_error(RTR("'hint_normal_roughness_texture' is only available when using the Forward+ renderer."));
return ERR_PARSE_ERROR;
}
if (shader_type_identifier != StringName() && String(shader_type_identifier) != "spatial") {