opengl: fix swizzle

The four components are, in order: x, y, z, w.

The U and V values are the first and second components in the second
texture.

Fixes #26735
This commit is contained in:
Romain Vimont 2022-03-22 12:46:42 +01:00 committed by Jean-Baptiste Kempf
parent 203b197211
commit 05f292874d
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ opengl_init_swizzle(struct vlc_gl_sampler *sampler,
else
{
swizzle_per_tex[0] = "x";
swizzle_per_tex[1] = "xw";
swizzle_per_tex[1] = "xy";
}
}
else if (desc->plane_count == 1)