glamor: Fix typo: "vec2_pos" -> "vec2 pos"
Fixes crash when trying to use dashed lines:
Failed to compile VS: 0:8(2): error: `vec2_pos' undeclared
Trivial.
Fixes: d8161aeb50
("glamor: Fix missing declaration in dash vertex
shader")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99943
This commit is contained in:
parent
937527f979
commit
0c1574d988
|
@ -32,7 +32,7 @@ static const char dash_vs_vars[] =
|
|||
|
||||
static const char dash_vs_exec[] =
|
||||
" dash_offset = primitive.z / dash_length;\n"
|
||||
" vec2_pos = vec2(0,0);\n"
|
||||
" vec2 pos = vec2(0,0);\n"
|
||||
GLAMOR_POS(gl_Position, primitive.xy);
|
||||
|
||||
static const char dash_fs_vars[] =
|
||||
|
|
Loading…
Reference in New Issue
Block a user