summaryrefslogtreecommitdiff
path: root/servers/visual
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2019-10-02 10:50:22 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2019-10-02 12:37:22 +0300
commit1472fca9513b4d107337a876939b193864bd3ca3 (patch)
tree080ac166422ee638b6f63cd4dc929902deb81390 /servers/visual
parent09bf1b35c0310617924fc4eaca32d5b91460d492 (diff)
Removed unnecessary shader error log messages
Diffstat (limited to 'servers/visual')
-rw-r--r--servers/visual/shader_language.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp
index 1b9c3e2eff..3b549afb02 100644
--- a/servers/visual/shader_language.cpp
+++ b/servers/visual/shader_language.cpp
@@ -5348,9 +5348,7 @@ Error ShaderLanguage::complete(const String &p_code, const Map<StringName, Funct
nodes = NULL;
shader = alloc_node<ShaderNode>();
- Error err = _parse_shader(p_functions, p_render_modes, p_shader_types);
- if (err != OK)
- ERR_PRINT("Failed to parse shader");
+ _parse_shader(p_functions, p_render_modes, p_shader_types);
switch (completion_type) {