Fix the 3dfx driver by correcting what appears to be a typo GL_RGBA8 instead

of GL_RGBA in driNewRenderbuffer of the backbuffer.
This commit is contained in:
Eric Anholt 2005-06-01 02:59:12 +00:00
parent c7264415b6
commit f772e3dd15
1 changed files with 1 additions and 1 deletions

View 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);