summaryrefslogtreecommitdiff
path: root/drivers/gles2
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2018-08-24 12:14:40 +0200
committerGitHub <noreply@github.com>2018-08-24 12:14:40 +0200
commitf123694b4e5ac52bb82b3a2e3cbd6d36db1d0c9c (patch)
treeaeac569ef9ba26eacaa816d22a5332cb93651148 /drivers/gles2
parent56bab6509c152e015f2c700a4e3db529d816e619 (diff)
parent2fa4b50027049f1755a2aed4451a7ebafb1a1245 (diff)
Merge pull request #21357 from karroffel/gles2-shader-language-f-to-pay-respects
[GLES2] fix wrong shader compiler output
Diffstat (limited to 'drivers/gles2')
-rw-r--r--drivers/gles2/shader_compiler_gles2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles2/shader_compiler_gles2.cpp b/drivers/gles2/shader_compiler_gles2.cpp
index 5ac2af6e5c..2227c9769a 100644
--- a/drivers/gles2/shader_compiler_gles2.cpp
+++ b/drivers/gles2/shader_compiler_gles2.cpp
@@ -161,7 +161,7 @@ static String get_constant_text(SL::DataType p_type, const Vector<SL::ConstantNo
return text.as_string();
} break;
- case SL::TYPE_FLOAT: return f2sp0(p_values[0].real) + "f";
+ case SL::TYPE_FLOAT: return f2sp0(p_values[0].real);
case SL::TYPE_VEC2:
case SL::TYPE_VEC3:
case SL::TYPE_VEC4: {