projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c726441
)
Fix the 3dfx driver by correcting what appears to be a typo GL_RGBA8 instead
author
Eric Anholt
<anholt@FreeBSD.org>
Wed, 1 Jun 2005 02:59:12 +0000
(
02:59
+0000)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/tdfx/tdfx_screen.c
b/src/mesa/drivers/dri/tdfx/tdfx_screen.c
index
500d5d3
..
b911668
100644
(file)
--- 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_RGBA
8
, screen->cpp,
+ = driNewRenderbuffer(GL_RGBA, screen->cpp,
screen->backOffset, screen->width);
tdfxSetSpanFunctions(backRb, mesaVis);
_mesa_add_renderbuffer(fb, BUFFER_BACK_LEFT, &backRb->Base);