Commit d8161aeb authored by Dr.-Ing. Dieter Jurzitza's avatar Dr.-Ing. Dieter Jurzitza Committed by Adam Jackson

glamor: Fix missing declaration in dash vertex shader

Fixes a GLSL compilation error:

Failed to compile VS: 0:13(43): error: `pos' undeclared
0:13(14): error: operands to arithmetic operators must be numeric
0:13(13): error: operands to arithmetic operators must be numeric
Tested-by: default avatarStefan Dirsch <sndirsch@suse.com>
Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
parent acdb5bf2
......@@ -32,6 +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"
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