/[gzz]/gzz/gfx/librenderables/renderables.py
ViewVC logotype

Diff of /gzz/gfx/librenderables/renderables.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.86 by tjl, Mon Sep 30 09:10:23 2002 UTC revision 1.87 by tjl, Mon Sep 30 22:20:28 2002 UTC
# Line 426  rs = [ Line 426  rs = [
426    
427              for(Paper::Paper::iterator it = paper->begin(); it != paper->end(); ++it) {              for(Paper::Paper::iterator it = paper->begin(); it != paper->end(); ++it) {
428    
429                  if (dbg) cout << "Pass\\n";                  DBG(dbg) << "Pass\\n";
430                  (*it).setUp_VP(&lightParam);                  (*it).setUp_VP(&lightParam);
431    
432                    DBG(dbg) << "Going to multidraw\\n";
433                  GLERR                  GLERR
434                  glMultiDrawElementsEXT(GL_QUAD_STRIP,                  glMultiDrawElementsEXT(GL_QUAD_STRIP,
435                          counts, GL_UNSIGNED_INT, (const GLvoid **)indps, dice-1);                          counts, GL_UNSIGNED_INT, (const GLvoid **)indps, dice-1);
436    
437                    DBG(dbg) << "Teardown\\n";
438                  GLERR                  GLERR
439                  (*it).tearDown_VP();                  (*it).tearDown_VP();
440                  GLERR                  GLERR
441                    DBG(dbg) << "Pass over\\n";
442    
443              }              }
444    
445              glUnlockArraysEXT();              glUnlockArraysEXT();
446              glPopClientAttrib();              glPopClientAttrib();
447                DBG(dbg) << "Pass over\\n";
448    
449              GLERR              GLERR
450          """,          """,

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26