diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2018-11-21 23:07:09 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2018-11-21 23:07:09 -0300 |
| commit | 631cf676c34e8add973236112251aeb622807e4c (patch) | |
| tree | 43cb17fd02d561b25f9be18cfc17a25e053c7064 /drivers | |
| parent | 10c3ba2c1b8cb494175c3eae0f7c6fbecf1b3bd0 (diff) | |
| download | redot-engine-631cf676c34e8add973236112251aeb622807e4c.tar.gz | |
Removed noperspective (not in GLSL ES 3.0), do not write smooth if not specified. Fixes #20435
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gles3/shader_compiler_gles3.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gles3/shader_compiler_gles3.cpp b/drivers/gles3/shader_compiler_gles3.cpp index 6cc27bd77a..2372dfb17e 100644 --- a/drivers/gles3/shader_compiler_gles3.cpp +++ b/drivers/gles3/shader_compiler_gles3.cpp @@ -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 ""; } |
