--- libgender/view.C 2004/10/06 01:41:30 1.18 +++ libgender/view.C 2004/10/06 02:12:59 1.21 @@ -68,12 +68,16 @@ void view::begin () { vismap.clear (); + vislist.clear (); generation++; reset_projection (); // check occlusion queries here + for (vector::iterator i = checklist.begin (); i != checklist.end (); ++i) + printf ("%p %d\n", *i, occ_query_result ((*i)->occ_query)); + checklist.clear (); world.detect_visibility (*this); @@ -103,7 +107,9 @@ } else { +#if 0 glEnable (GL_MINMAX); +#endif glDisable (GL_POLYGON_OFFSET_FILL); glDepthFunc (GL_LESS); glDepthMask (0);