Remove non-gles2 glEnable(GL_TEXTURE_2D) call

This commit is contained in:
Kristian Høgsberg 2010-09-10 08:51:09 -04:00
parent 877d71a6e2
commit 99d7c64d1b

View File

@ -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);