From f772e3dd1527dcc4a910cbaf3db5ff1a8096740e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Jun 2005 02:59:12 +0000 Subject: [PATCH] Fix the 3dfx driver by correcting what appears to be a typo GL_RGBA8 instead of GL_RGBA in driNewRenderbuffer of the backbuffer. --- src/mesa/drivers/dri/tdfx/tdfx_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/tdfx/tdfx_screen.c b/src/mesa/drivers/dri/tdfx/tdfx_screen.c index 500d5d3f3dd..b911668b4ef 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_screen.c +++ b/src/mesa/drivers/dri/tdfx/tdfx_screen.c @@ -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); -- 2.30.2