added check for tmuRam==4 for Voodoo2 (Bernd)

This commit is contained in:
Brian Paul 2000-05-05 22:38:37 +00:00
parent 9635376e44
commit cafc3b35c7
1 changed files with 2 additions and 1 deletions

View File

@ -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";