diff options
author | Thomas Herzog <thomas.herzog@mail.com> | 2018-08-24 12:14:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 12:14:40 +0200 |
commit | f123694b4e5ac52bb82b3a2e3cbd6d36db1d0c9c (patch) | |
tree | aeac569ef9ba26eacaa816d22a5332cb93651148 /drivers/gles2 | |
parent | 56bab6509c152e015f2c700a4e3db529d816e619 (diff) | |
parent | 2fa4b50027049f1755a2aed4451a7ebafb1a1245 (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.cpp | 2 |
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: { |