undo previous check-in (check if ctx->Color.DrawBuffer == mode)
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 11 Oct 2002 15:17:12 +0000 (15:17 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 11 Oct 2002 15:17:12 +0000 (15:17 +0000)
src/mesa/main/buffers.c

index f7edb1b855c58e0552e122b879dc7fbb4b936714..2bf691dd08e88fb3ca13b155f7833f9f52630b87 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: buffers.c,v 1.39 2002/10/11 00:02:16 brianp Exp $ */
+/* $Id: buffers.c,v 1.40 2002/10/11 15:17:12 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -147,9 +147,6 @@ _mesa_DrawBuffer( GLenum mode )
    if (MESA_VERBOSE & VERBOSE_API)
       _mesa_debug(ctx, "glDrawBuffer %s\n", _mesa_lookup_enum_by_nr(mode));
 
-   if (ctx->Color.DrawBuffer == mode)
-      return; /* no change */
-
    /*
     * Do error checking and compute the _DrawDestMask bitfield.
     */