projects
/
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 500d5d3f3dd2f06bc082c73df12cb1fd4af9db5f..b911668b4ef532327ba7e8176199131cb183a056 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);