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

Author: Brian Paul <[email protected]>
Date:   Mon Nov  2 15:27:57 2009 -0700

mesa: use FLUSH_VERTICES() in _mesa_drawbuffers()

---

 src/mesa/main/buffers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index 028644f..740ac3f 100644
--- a/src/mesa/main/buffers.c
+++ b/src/mesa/main/buffers.c
@@ -443,7 +443,7 @@ _mesa_drawbuffers(GLcontext *ctx, GLuint n, const GLenum 
*buffers,
    }
 
    if (newState)
-      ctx->NewState |= _NEW_BUFFERS;
+      FLUSH_VERTICES(ctx, _NEW_BUFFERS);
 }
 
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to