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 500d5d3f3dd2f06bc082c73df12cb1fd4af9db5f..b911668b4ef532327ba7e8176199131cb183a056 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);