diff options
Diffstat (limited to 'src/qtmultimediaquicktools')
-rw-r--r-- | src/qtmultimediaquicktools/shaders/uyvyvideo.frag | 2 | ||||
-rw-r--r-- | src/qtmultimediaquicktools/shaders/yuyvvideo.frag | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qtmultimediaquicktools/shaders/uyvyvideo.frag b/src/qtmultimediaquicktools/shaders/uyvyvideo.frag index 8e34f7d33..905035703 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; diff --git a/src/qtmultimediaquicktools/shaders/yuyvvideo.frag b/src/qtmultimediaquicktools/shaders/yuyvvideo.frag index 876771008..72732cd66 100644 --- a/src/qtmultimediaquicktools/shaders/yuyvvideo.frag +++ b/src/qtmultimediaquicktools/shaders/yuyvvideo.frag @@ -1,5 +1,5 @@ uniform sampler2D yuvTexture; // YUYV macropixel texture passed as RGBA format -uniform float imageWidth; // The YUYV texture appears to the shader with 1/2 the image width since we use the RGBA format to pass YUYV +uniform mediump float imageWidth; // The YUYV texture appears to the shader with 1/2 the image width since we use the RGBA format to pass YUYV uniform mediump mat4 colorMatrix; uniform lowp float opacity; |