summaryrefslogtreecommitdiff
path: root/servers/rendering/shader_language.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2020-12-08 20:58:49 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-12-09 10:17:53 +0200
commit644f73966002589c36d779fa33b9524a451f56e0 (patch)
tree58b5f8b90e48771dd211a39a8aeba231d6483475 /servers/rendering/shader_language.h
parent90bdba576af2d5f0a8ecdbef065d6ef0075bc2f2 (diff)
Static analyzer fixes:
Removes unused code in OS. Fixes return types. Fixes few typos.
Diffstat (limited to 'servers/rendering/shader_language.h')
-rw-r--r--servers/rendering/shader_language.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/shader_language.h b/servers/rendering/shader_language.h
index cb77324489..9d2d591542 100644
--- a/servers/rendering/shader_language.h
+++ b/servers/rendering/shader_language.h
@@ -519,7 +519,7 @@ public:
DataType basetype = TYPE_VOID;
bool basetype_const = false;
StringName base_struct_name;
- DataPrecision precision;
+ DataPrecision precision = PRECISION_DEFAULT;
DataType datatype = TYPE_VOID;
int array_size = 0;
StringName struct_name;