From 73f7f8cbdbabfd4bdf174e41ee12ef00bd722d29 Mon Sep 17 00:00:00 2001 From: Sergey Lapin Date: Tue, 30 Mar 2021 01:33:27 +0300 Subject: [PATCH] Shader fix to be compatible with GLES2 --- src/qtmultimediaquicktools/shaders/uyvyvideo.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtmultimediaquicktools/shaders/uyvyvideo.frag b/src/qtmultimediaquicktools/shaders/uyvyvideo.frag index 8e34f7d3..90503570 100644 --- a/src/qtmultimediaquicktools/shaders/uyvyvideo.frag +++ b/src/qtmultimediaquicktools/shaders/uyvyvideo.frag @@ -1,5 +1,5 @@ uniform sampler2D yuvTexture; // UYVY macropixel texture passed as RGBA format -uniform float imageWidth; // The UYVY texture appears to the shader with 1/2 the image width since we use the RGBA format to pass UYVY +uniform mediump float imageWidth; // The UYVY texture appears to the shader with 1/2 the image width since we use the RGBA format to pass UYVY uniform mediump mat4 colorMatrix; uniform lowp float opacity;