From 99d7c64d1b6f60d5515304f5380a0f98908cecc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 10 Sep 2010 08:51:09 -0400 Subject: [PATCH] Remove non-gles2 glEnable(GL_TEXTURE_2D) call --- compositor.c | 1 - 1 file changed, 1 deletion(-) diff --git a/compositor.c b/compositor.c index e27ed70b..f71b7e6d 100644 --- a/compositor.c +++ b/compositor.c @@ -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);