[gtk/wip/chergert/glproto: 71/493] remove extra bind sets




commit 6e93a4ecb755129c0cfed2fc48c6f3d3e6b0e3ba
Author: Christian Hergert <chergert redhat com>
Date:   Mon Dec 28 10:43:46 2020 -0800

    remove extra bind sets
    
    i dont think we really need this, at least for now.

 gsk/next/gskglcommandqueue.c | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index df72c4c70b..aaec2bb567 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -1041,12 +1041,6 @@ gsk_gl_command_queue_begin_frame (GskGLCommandQueue *self)
 
   glBindFramebuffer (GL_FRAMEBUFFER, 0);
 
-  for (guint i = 0; i < 8; i++)
-    {
-      glActiveTexture (GL_TEXTURE0 + i);
-      glBindTexture (GL_TEXTURE_2D, 0);
-    }
-
   glBindVertexArray (0);
   glUseProgram (0);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]