aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/shaders/tex_external.frag
diff options
context:
space:
mode:
Diffstat (limited to 'render/gles2/shaders/tex_external.frag')
-rw-r--r--render/gles2/shaders/tex_external.frag5
1 files changed, 5 insertions, 0 deletions
diff --git a/render/gles2/shaders/tex_external.frag b/render/gles2/shaders/tex_external.frag
index 05eac503..73909fe0 100644
--- a/render/gles2/shaders/tex_external.frag
+++ b/render/gles2/shaders/tex_external.frag
@@ -1,6 +1,11 @@
#extension GL_OES_EGL_image_external : require
+#ifdef GL_FRAGMENT_PRECISION_HIGH
+precision highp float;
+#else
precision mediump float;
+#endif
+
varying vec2 v_texcoord;
uniform samplerExternalOES texture0;
uniform float alpha;