[PATCH weston 7/8] gl-renderer: Remove unneeded glActiveTexture call.

John Kåre Alsaker john.kare.alsaker at gmail.com
Thu Feb 21 10:19:33 PST 2013


---
 src/gl-renderer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gl-renderer.c b/src/gl-renderer.c
index 7a19b26..778fedd 100644
--- a/src/gl-renderer.c
+++ b/src/gl-renderer.c
@@ -1772,8 +1772,6 @@ gl_renderer_setup(struct weston_compositor *ec, EGLSurface egl_surface)
 			gr->has_bind_display = 0;
 	}
 
-	glActiveTexture(GL_TEXTURE0);
-
 	if (gl_init_shaders(gr) < 0)
 		return -1;
 
-- 
1.8.1.3



More information about the wayland-devel mailing list