diff options
author | Eric Anholt <eric@anholt.net> | 2014-06-06 21:20:59 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-06-09 13:52:58 -0400 |
commit | 394d0c412626bd23eca1d936fae97b6dccbffcff (patch) | |
tree | 54f5e448b117b5d76bce832c61750cfdcaa2e732 | |
parent | b20c74ff2a78649b6d7a692658e14c6f421493a5 (diff) |
glamor: Fix typo in setting v_position's attrib location.
Assuming it was the first attribute assigned by the GL, it would have
ended up with location 0 anyway.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | src/glamor_trapezoid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glamor_trapezoid.c b/src/glamor_trapezoid.c index ca05cbf..24cf882 100644 --- a/src/glamor_trapezoid.c +++ b/src/glamor_trapezoid.c @@ -1299,7 +1299,7 @@ glamor_init_trapezoid_shader(ScreenPtr screen) dispatch->glAttachShader(glamor_priv->trapezoid_prog, fs_prog); dispatch->glBindAttribLocation(glamor_priv->trapezoid_prog, - GLAMOR_VERTEX_POS, "v_positionsition"); + GLAMOR_VERTEX_POS, "v_position"); dispatch->glBindAttribLocation(glamor_priv->trapezoid_prog, GLAMOR_VERTEX_SOURCE, "v_texcoord"); dispatch->glBindAttribLocation(glamor_priv->trapezoid_prog, |