Work around certain buggy Vivante GPU drivers on Android

love2d/love-android#204
This commit is contained in:
Alex Szpakowski
2021-04-17 15:09:21 -03:00
parent 977c690fa9
commit e9c58c8192
3 changed files with 22 additions and 4 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ GLSL.FUNCTIONS = [[
#if __VERSION__ >= 300 || defined(GL_OES_texture_3D)
precision lowp sampler3D;
#endif
#if __VERSION__ >= 300
#if __VERSION__ >= 300 && !defined(LOVE_GLSL1_ON_GLSL3)
precision lowp sampler2DShadow;
precision lowp samplerCubeShadow;
precision lowp sampler2DArrayShadow;