Merge pull request #21357 from karroffel/gles2-shader-language-f-to-pay-respects
[GLES2] fix wrong shader compiler output
This commit is contained in:
commit
f123694b4e
1 changed files with 1 additions and 1 deletions
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue