summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video_shaders.glsl
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-21 21:54:50 +0100
committerwm4 <wm4@nowhere>2014-12-21 23:46:54 +0100
commitd5a7ad630f27999355d0a6c25affd10bfabd1d43 (patch)
tree920706c5b8502fae4effdd8a5634c4f8577c518c /video/out/gl_video_shaders.glsl
parentec4bbbb69b83b781972ff4e81a8ea44d62b91c56 (diff)
downloadmpv-d5a7ad630f27999355d0a6c25affd10bfabd1d43.tar.bz2
mpv-d5a7ad630f27999355d0a6c25affd10bfabd1d43.tar.xz
vo_opengl: improve fallback handling with GLES
Whether we have texture_rg doesn't matter much anymore; the scaler should be fine with this. But on ES 2.0, 1st class arrays are missing, so even if filterable float textures should be available, it won't work. Dithering (at least the "fruit" variant) will not work either, because it uses floats.
Diffstat (limited to 'video/out/gl_video_shaders.glsl')
-rw-r--r--video/out/gl_video_shaders.glsl6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/out/gl_video_shaders.glsl b/video/out/gl_video_shaders.glsl
index 2cbce5b71e..86f3c5afb2 100644
--- a/video/out/gl_video_shaders.glsl
+++ b/video/out/gl_video_shaders.glsl
@@ -29,12 +29,6 @@
#ifdef GL_ES
precision mediump float;
-#define HAVE_3DTEX (__VERSION__ >= 300)
-#define HAVE_ARRAYS (__VERSION__ >= 300)
-#else
-// Desktop GL
-#define HAVE_3DTEX 1
-#define HAVE_ARRAYS 1
#endif
// GLSL 1.20 compatibility layer