summaryrefslogtreecommitdiff
path: root/drivers/gles2/shaders/lens_distorted.glsl
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-21 15:56:05 +0100
committerGitHub <noreply@github.com>2018-12-21 15:56:05 +0100
commita0d8bfb0d2ff50f4de7837767611688b962fd564 (patch)
tree164f3be0f76c816763d87cf07b9901d3f3cc81c8 /drivers/gles2/shaders/lens_distorted.glsl
parent0d3c6fae35d8025aee215275ae470746b0860578 (diff)
parent57416bfbce17905e71d143478a796dc6b27ba4f7 (diff)
Merge pull request #24529 from akien-mga/opengl-2.1-lowp
GLES2: Define 'lowp' for OpenGL 2.1
Diffstat (limited to 'drivers/gles2/shaders/lens_distorted.glsl')
-rw-r--r--drivers/gles2/shaders/lens_distorted.glsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gles2/shaders/lens_distorted.glsl b/drivers/gles2/shaders/lens_distorted.glsl
index efa35adf7d..81898a75a5 100644
--- a/drivers/gles2/shaders/lens_distorted.glsl
+++ b/drivers/gles2/shaders/lens_distorted.glsl
@@ -2,6 +2,7 @@
[vertex]
#ifdef USE_GLES_OVER_GL
+#define lowp
#define mediump
#define highp
#else
@@ -29,6 +30,7 @@ void main() {
[fragment]
#ifdef USE_GLES_OVER_GL
+#define lowp
#define mediump
#define highp
#else