summaryrefslogtreecommitdiff
path: root/src/qcam/assets/shader/bayer_8.frag
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/assets/shader/bayer_8.frag')
-rw-r--r--src/qcam/assets/shader/bayer_8.frag3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qcam/assets/shader/bayer_8.frag b/src/qcam/assets/shader/bayer_8.frag
index 4ece44ab..7e35ca88 100644
--- a/src/qcam/assets/shader/bayer_8.frag
+++ b/src/qcam/assets/shader/bayer_8.frag
@@ -15,6 +15,9 @@ Copyright (C) 2021, Linaro
*/
//Pixel Shader
+#ifdef GL_ES
+precision mediump float;
+#endif
/** Monochrome RGBA or GL_LUMINANCE Bayer encoded texture.*/
uniform sampler2D tex_y;