mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-06-12 06:38:27 +02:00
glamor: Specify GLSL version for xv shader
SAMPLE is a GLSL keyword in newer OpenGL version.
This fix issue with gnome-shell and playing video using xv
Signed-off-by: Corentin Rossignon <corentin.rossignon@gmail.com>
Bugzilla: https://bugs.freedesktop.org/104405
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit dbfbe58b94)
This commit is contained in:
parent
5e83ebd767
commit
16896d05a6
1 changed files with 2 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ typedef struct tagREF_TRANSFORM {
|
|||
static const glamor_facet glamor_facet_xv_planar = {
|
||||
.name = "xv_planar",
|
||||
|
||||
.version = 120,
|
||||
|
||||
.source_name = "v_texcoord0",
|
||||
.vs_vars = ("attribute vec2 position;\n"
|
||||
"attribute vec2 v_texcoord0;\n"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue