Ian Romanick wrote:
Perhaps I'm not reading it right, but isn't that the same as:

    ovf = MIN2( nr, 2 );
    for (i = 0 ; i < ovf ; i++)
        copy_vertex( rmesa, nr-ovf+i, tmp[i] );
    return i;

In both cases if nr==0 no work is done and 0 is returned. If nr==1 one vertex is copied and 1 is returned. In all other cases 2 vertices are copied and 2 is returned.


This patch (and I'd suppose the obfuscated versions too ;-)) causes ut2k3 to instantly lock up as soon as a game is started (instant action, dm-asbestos, spectate). Without the patch it's possible to walk around in a mess of triangles some time until it eventually locks up (dri trunk about 2 days old, R200 driver (tested on a RV250)).
Of course that doesn't mean the patch is wrong, it could just trigger another bug.


Roland




------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to