Merge pull request #21357 from karroffel/gles2-shader-language-f-to-pay-respects

[GLES2] fix wrong shader compiler output
This commit is contained in:
Thomas Herzog 2018-08-24 12:14:40 +02:00 committed by GitHub
commit f123694b4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -161,7 +161,7 @@ static String get_constant_text(SL::DataType p_type, const Vector<SL::ConstantNo
return text.as_string(); return text.as_string();
} break; } 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_VEC2:
case SL::TYPE_VEC3: case SL::TYPE_VEC3:
case SL::TYPE_VEC4: { case SL::TYPE_VEC4: {