Commit 0c1574d9 authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer

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: 	d8161aeb ("glamor: Fix missing declaration in dash vertex
                       shader")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99943
parent 937527f9
......@@ -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[] =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment