summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2005-06-01 02:59:12 +0000
committerEric Anholt <[email protected]>2005-06-01 02:59:12 +0000
commitf772e3dd1527dcc4a910cbaf3db5ff1a8096740e (patch)
treeade2b2092c21d750961c1168cf7a563e0728c899 /src/mesa/drivers
parentc7264415b662225a5bdbad3157ecae6b2a3183e2 (diff)
Fix the 3dfx driver by correcting what appears to be a typo GL_RGBA8 instead
of GL_RGBA in driNewRenderbuffer of the backbuffer.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_screen.c2
1 files changed, 1 insertions, 1 deletions
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);