1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Removed noperspective (not in GLSL ES 3.0), do not write smooth if not specified. Fixes #20435

This commit is contained in:
Juan Linietsky
2018-11-21 23:07:09 -03:00
parent 10c3ba2c1b
commit 631cf676c3
3 changed files with 1 additions and 9 deletions

View File

@@ -133,8 +133,7 @@ static String _interpstr(SL::DataInterpolation p_interp) {
switch (p_interp) {
case SL::INTERPOLATION_FLAT: return "flat ";
case SL::INTERPOLATION_NO_PERSPECTIVE: return "noperspective ";
case SL::INTERPOLATION_SMOOTH: return "smooth ";
case SL::INTERPOLATION_SMOOTH: return "";
}
return "";
}