summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-05-05 22:38:37 +0000
committerBrian Paul <[email protected]>2000-05-05 22:38:37 +0000
commitcafc3b35c73b71857a6807b9b591c0ac5fbb5cec (patch)
treeeb5b0aac1b05935cd4ba948b497ffa534c0b08b3 /src/mesa/drivers
parent9635376e446999913017c9e4e87315e5893c8264 (diff)
added check for tmuRam==4 for Voodoo2 (Bernd)
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/glide/fxapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c
index 2d0d9e12705..da2b905fa63 100644
--- a/src/mesa/drivers/glide/fxapi.c
+++ b/src/mesa/drivers/glide/fxapi.c
@@ -989,7 +989,8 @@ fxMesaContext GLAPIENTRY fxMesaCreateContext(GLuint win,
else if (voodoo->nTexelfx == 2 &&
voodoo->fbiRev == 260 &&
voodoo->tmuConfig[0].tmuRev == 4 &&
- voodoo->tmuConfig[0].tmuRam == 2) {
+ (voodoo->tmuConfig[0].tmuRam == 2 ||
+ voodoo->tmuConfig[0].tmuRam == 4)) {
/* Voodoo 2 */
useBGR = GL_TRUE;
system = "Voodoo2";