summaryrefslogtreecommitdiff
path: root/glamor/glamor_dash.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-03-09 18:13:31 +0900
committerMichel Dänzer <michel@daenzer.net>2017-03-09 18:13:31 +0900
commit0c1574d9882a91b2c1a046bf4ac5a9b138a37965 (patch)
treece5c38d272d15b97228366d24baf8d066d77b32d /glamor/glamor_dash.c
parent937527f9798d573ec82c2c508821899c229c018f (diff)
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: d8161aeb5089 ("glamor: Fix missing declaration in dash vertex shader") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99943
Diffstat (limited to 'glamor/glamor_dash.c')
-rw-r--r--glamor/glamor_dash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_dash.c b/glamor/glamor_dash.c
index 9bc6b9a01..78a4fa37a 100644
--- a/glamor/glamor_dash.c
+++ b/glamor/glamor_dash.c
@@ -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[] =