[RFCv2 8/9] gl-renderer: Remove unneeded glActiveTexture call.

John Kåre Alsaker john.kare.alsaker at gmail.com
Fri Nov 16 18:23:59 PST 2012


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

diff --git a/src/gl-renderer.c b/src/gl-renderer.c
index 5847e12..c82bed8 100644
--- a/src/gl-renderer.c
+++ b/src/gl-renderer.c
@@ -1725,8 +1725,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.0



More information about the wayland-devel mailing list