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>
This commit is contained in:
parent
f8d384fa8f
commit
6e62cdf66d
|
@ -395,7 +395,7 @@ _glamor_create_radial_gradient_program(ScreenPtr screen, int stops_count,
|
|||
glAttachShader(gradient_prog, fs_getcolor_prog);
|
||||
glAttachShader(gradient_prog, fs_main_prog);
|
||||
|
||||
glBindAttribLocation(gradient_prog, GLAMOR_VERTEX_POS, "v_positionsition");
|
||||
glBindAttribLocation(gradient_prog, GLAMOR_VERTEX_POS, "v_position");
|
||||
glBindAttribLocation(gradient_prog, GLAMOR_VERTEX_SOURCE, "v_texcoord");
|
||||
|
||||
glamor_link_glsl_prog(gradient_prog);
|
||||
|
|
Loading…
Reference in New Issue
Block a user