summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2021-10-28 20:21:18 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2021-10-28 20:21:18 +0300
commit04a2053f9bebb5c7b65d21d8b2525b46bf2d5fe6 (patch)
tree96af68ff848f060efecad685b098be84f51f4cfb
parente7e9e663b56d72485040ed627ed76b418f332865 (diff)
Removed incorrect autocompletion of matrixes in shader
-rw-r--r--servers/rendering/shader_language.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/servers/rendering/shader_language.cpp b/servers/rendering/shader_language.cpp
index 4c4fbfb2ed..e592107abc 100644
--- a/servers/rendering/shader_language.cpp
+++ b/servers/rendering/shader_language.cpp
@@ -9370,15 +9370,6 @@ Error ShaderLanguage::complete(const String &p_code, const Map<StringName, Funct
limit = 4;
} break;
- case TYPE_MAT2:
- limit = 2;
- break;
- case TYPE_MAT3:
- limit = 3;
- break;
- case TYPE_MAT4:
- limit = 4;
- break;
default: {
}
}