p3/regal — pull request #15 by greggman (2012-09-11 22:22:06+00:00)
Title: Stop warnings

The ES 1.1 conformacne tests do this before every test

GLint max_stack_depth;
glGetIntegerv(GL_MAX_MODELVIEW_STACK_DEPTH, &max_stack_depth);
for (GLint i = 0; i < max_stack_depth; ++i) {
glPopMatrix(GL_MODELVIEW);
}

Which means regal ends up printing thousands of lines of un-needed warnings.

What do you think about either removing this assert or else making it a conditional compile? like #if REGAL_STACK_DEPTH_WARNING or something?