diff --git a/AVQt/textureES.fsh b/AVQt/textureES.fsh
index fb53f0b7ba18c150d40e82324e63f3a7d68b35ed..83a502131e21411c2bafd935c6e0b2dbc2035912 100644
--- a/AVQt/textureES.fsh
+++ b/AVQt/textureES.fsh
@@ -34,7 +34,7 @@ void main() {
         finalColor = vec4(rgb, 1.0f);
     } else if (inputFormat == 2) { // YUV420P
         mediump vec3 yuv;
-        yuv.x = texture(textureY, newTexCoord.st).r * 4;
+        yuv.x = texture(textureY, newTexCoord.st).r * 4.0;
         //        yuv.x = texture(textureY, newTexCoord.st).r - 0.0625;
         yuv.y = texture(textureU, newTexCoord.st).r - 0.5;
         yuv.z = texture(textureV, newTexCoord.st).r - 0.5;