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 |
""", |
""", |