mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01:00
clients/simple-egl: remove duplicated shader program link
This is unnecessary as the program is already linked at this point. Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
This commit is contained in:
parent
5a56856866
commit
4fa4665d7a
1 changed files with 0 additions and 1 deletions
|
|
@ -564,7 +564,6 @@ init_gl(struct window *window)
|
|||
|
||||
glBindAttribLocation(program, window->gl.pos, "pos");
|
||||
glBindAttribLocation(program, window->gl.col, "color");
|
||||
glLinkProgram(program);
|
||||
|
||||
window->gl.rotation_uniform =
|
||||
glGetUniformLocation(program, "rotation");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue