You've already forked godot
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:
@@ -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 "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user