Fix the 3dfx driver by correcting what appears to be a typo GL_RGBA8 instead
authorEric Anholt <anholt@FreeBSD.org>
Wed, 1 Jun 2005 02:59:12 +0000 (02:59 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Wed, 1 Jun 2005 02:59:12 +0000 (02:59 +0000)
of GL_RGBA in driNewRenderbuffer of the backbuffer.

src/mesa/drivers/dri/tdfx/tdfx_screen.c

index 500d5d3..b911668 100644 (file)
@@ -165,7 +165,7 @@ tdfxCreateBuffer( __DRIscreenPrivate *driScrnPriv,
 
       if (mesaVis->doubleBufferMode) {
          driRenderbuffer *backRb
-            = driNewRenderbuffer(GL_RGBA8, screen->cpp,
+            = driNewRenderbuffer(GL_RGBA, screen->cpp,
                                  screen->backOffset, screen->width);
          tdfxSetSpanFunctions(backRb, mesaVis);
          _mesa_add_renderbuffer(fb, BUFFER_BACK_LEFT, &backRb->Base);