diff options
author | Eric Anholt <[email protected]> | 2005-06-01 02:59:12 +0000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2005-06-01 02:59:12 +0000 |
commit | f772e3dd1527dcc4a910cbaf3db5ff1a8096740e (patch) | |
tree | ade2b2092c21d750961c1168cf7a563e0728c899 /src/mesa/drivers/dri | |
parent | c7264415b662225a5bdbad3157ecae6b2a3183e2 (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/dri')
-rw-r--r-- | src/mesa/drivers/dri/tdfx/tdfx_screen.c | 2 |
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); |