mesa: use FLUSH_VERTICES() in _mesa_drawbuffers()
authorBrian Paul <brianp@vmware.com>
Mon, 2 Nov 2009 22:27:57 +0000 (15:27 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 3 Nov 2009 16:52:25 +0000 (09:52 -0700)
src/mesa/main/buffers.c

index 028644fe4b2b9fd85d27fe35ee65be2a18ad6d48..740ac3f4aef9052b7f790c4ddfc76e82bb50d0da 100644 (file)
@@ -443,7 +443,7 @@ _mesa_drawbuffers(GLcontext *ctx, GLuint n, const GLenum *buffers,
    }
 
    if (newState)
-      ctx->NewState |= _NEW_BUFFERS;
+      FLUSH_VERTICES(ctx, _NEW_BUFFERS);
 }