mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
Remove non-gles2 glEnable(GL_TEXTURE_2D) call
This commit is contained in:
parent
877d71a6e2
commit
99d7c64d1b
1 changed files with 0 additions and 1 deletions
|
|
@ -313,7 +313,6 @@ wlsc_surface_draw(struct wlsc_surface *es, struct wlsc_output *output)
|
|||
}
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, es->texture);
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
glBindBuffer(GL_ARRAY_BUFFER, ec->vbo);
|
||||
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE,
|
||||
5 * sizeof(GLfloat), NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue