projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9fcfa2
)
Unused variable cleanup.
author
Adam Jackson
<ajax@freedesktop.org>
Mon, 27 Dec 2004 22:08:34 +0000
(22:08 +0000)
committer
Adam Jackson
<ajax@freedesktop.org>
Mon, 27 Dec 2004 22:08:34 +0000
(22:08 +0000)
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 9c25d778f5e6320cc80d3c74d9045a7bc25333cc..7896811d997cc4e10c6c3a50d6300d7cb833426c 100644
(file)
--- a/
src/mesa/drivers/dri/tdfx/tdfx_screen.c
+++ b/
src/mesa/drivers/dri/tdfx/tdfx_screen.c
@@
-334,8
+334,7
@@
static __GLcontextModes *tdfxFillInModes(unsigned pixel_bits,
m->depthBits = deep
? (depth ? 24 : 0)
: (depth ? 0 : depth_bits);
- m->visualType = i ? GLX_TRUE_COLOR
- : GLX_DIRECT_COLOR;
+ m->visualType = vis[i];
m->renderType = GLX_RGBA_BIT;
m->drawableType = GLX_WINDOW_BIT;
m->rgbMode = GL_TRUE;