mirror of https://code.videolan.org/videolan/vlc
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:
parent
203b197211
commit
05f292874d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue