Mesa (master): mesa: don't flush vertices in glClientActiveTexture

Marek Olšák mareko at kemper.freedesktop.org
Fri Jun 23 17:51:30 UTC 2017


Module: Mesa
Branch: master
Commit: 516488bb51759e581a7aa2858278e6b267c1f52f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=516488bb51759e581a7aa2858278e6b267c1f52f

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Jun 20 02:23:56 2017 +0200

mesa: don't flush vertices in glClientActiveTexture

Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/mesa/main/texstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index caad77a1cc..269e29194d 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -349,7 +349,7 @@ _mesa_ClientActiveTexture(GLenum texture)
       return;
    }
 
-   FLUSH_VERTICES(ctx, _NEW_ARRAY);
+   /* Don't flush vertices. This is a "latched" state. */
    ctx->Array.ActiveTexture = texUnit;
 }
 




More information about the mesa-commit mailing list