Remove non-gles2 glEnable(GL_TEXTURE_2D) call
This commit is contained in:
parent
877d71a6e2
commit
99d7c64d1b
@ -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…
Reference in New Issue
Block a user