Hi,

Wolfenstein crashes after playing the intro at line 494 in r128_texstate.c
with an "assert t" failed message.
This patch is based uppon a past patch made by Gareth Hughes (see 
http://marc.theaimsgroup.com/?l=dri-devel&m=98470478214782 ) for the
radeon driver. There are also some other changes, but I really don't know 
what this stuff is doing - it just works for me.
Maybe someone can confirm (and understand) this.

Greetings

Marc

--- r128_texmem.c.orig  Fri Feb 15 18:45:36 2002
+++ r128_texmem.c       Sun Feb 17 17:32:00 2002
@@ -536,7 +536,7 @@
            }
         }

-        r128DestroyTexObj( rmesa, rmesa->TexObjList[heap].prev );
+        r128SwapOutTexObj( rmesa, rmesa->TexObjList[heap].prev );

         t->memBlock = mmAllocMem( rmesa->texHeap[heap],
                                   t->totalSize, 12, 0 );



_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to