>
> I see the code uses LINE_STRIPS to LINE_LOOP but it seems to be
> in-correct, well it locks the card, I've no idea if it is correct or not!!

Hi Keith,

To my untrained eye it looks like the test at the start of the
render_line_loop_verts is incorrect, but maybe I am just covering up the
problem, with this change blender and tri work without my previous
patch... but maybe I'm just moving the issue :-)

patch below..
Dave.

Index: t_dd_dmatmp.h
===================================================================
RCS file: /cvs/mesa/Mesa/src/mesa/tnl_dd/t_dd_dmatmp.h,v
retrieving revision 1.5
diff -u -r1.5 t_dd_dmatmp.h
--- t_dd_dmatmp.h       4 Feb 2004 16:59:30 -0000       1.5
+++ t_dd_dmatmp.h       5 Feb 2004 04:53:25 -0000
@@ -216,9 +216,9 @@
       INIT( GL_LINE_STRIP );

       if (flags & PRIM_BEGIN)
-        j = start;
-      else
         j = start + 1;
+      else
+        j = start;

       /* Ensure last vertex won't wrap buffers:
        */


-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to