[GLES2] fix wrong shader compiler output

The `f` postfix was working fine on dekstop GL but not on
some mobile drivers.
This commit is contained in:
Thomas Herzog 2018-08-24 12:10:54 +02:00
parent d53bb09fea
commit 2fa4b50027
1 changed files with 1 additions and 1 deletions

View File

@ -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: {