diff options
Diffstat (limited to 'src/qcam/assets/shader/YUV_2_planes.frag')
-rw-r--r-- | src/qcam/assets/shader/YUV_2_planes.frag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcam/assets/shader/YUV_2_planes.frag b/src/qcam/assets/shader/YUV_2_planes.frag index da8dbcc5..1d5d1206 100644 --- a/src/qcam/assets/shader/YUV_2_planes.frag +++ b/src/qcam/assets/shader/YUV_2_planes.frag @@ -36,7 +36,7 @@ void main(void) #error Invalid pattern #endif - vec3 rgb = yuv2rgb_matrix * (vec3(y, uv) - yuv2rgb_offset); + vec3 rgb = yuv2rgb_matrix * (yuv - yuv2rgb_offset); gl_FragColor = vec4(rgb, 1.0); } |