added check for tmuRam==4 for Voodoo2 (Bernd)
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 5 May 2000 22:38:37 +0000 (22:38 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 5 May 2000 22:38:37 +0000 (22:38 +0000)
src/mesa/drivers/glide/fxapi.c

index 2d0d9e12705fb02b635a884fea3f4ab9c8e065f6..da2b905fa632403396cd7c9042d2df83cf51af2e 100644 (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";