Here is a small patch for the "isosurf" demo.

If your renderer doesn't support CVA compactified arrays were
not generated but they are used also in the simple gl_vertex(GL_TRIANGLE)
case!

Andree


--- /usr/src/mesa-glx/demos/isosurf.c   Sat Sep  4 23:27:47 1999
+++ ./isosurf.c Wed Sep  8 14:17:37 1999
@@ -676,10 +676,9 @@
    glHint(GL_FOG_HINT,GL_DONT_CARE);
 
 
-   if (allowed & COMPILED) {
-      compactify_arrays();
-      make_tri_indices();
-   }
+   /* This is needed by GL_VERTEX(TRIANGLE) mode also... */
+   compactify_arrays();
+   make_tri_indices();
 
    surf1 = BuildList( GL_COMPILE );
 



_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to