summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-01 14:06:04 +0100
committerGitHub <noreply@github.com>2021-11-01 14:06:04 +0100
commit02ae47154cfb17c42e73dc16b2ca6b8218862d69 (patch)
treeb0d22c3188033de44403b1f1e3e82a6c77039ecb
parenteae34230c8359459bedc6cdb3676d3cd0dc9940c (diff)
parent04a2053f9bebb5c7b65d21d8b2525b46bf2d5fe6 (diff)
Merge pull request #54356 from Chaosus/shader_fix_matrix_autocompletion
-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 ac978b994a..04cc844483 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: {
}
}