You've already forked godot
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:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user