It appears that glEnd does not directly set Current.Primitive to GL_POLYGON+1, leaving this task to vbxform code. (which is not always called here) glGetError checks the Current.Primitive directly before calling VB_FLUSH. This seems to lead to incorrect errors of type "glGetError called between begin/end" Eero _______________________________________________ Mesa-dev maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-dev
- Re: [Mesa-dev] glEnd/glGetError bug? Eero Pajarre
- Re: [Mesa-dev] glEnd/glGetError bug? Brian Paul
- Re: [Mesa-dev] glEnd/glGetError bug? Eero Pajarre
- Re: [Mesa-dev] glEnd/glGetError bug? Keith Whitwell
- Re: [Mesa-dev] glEnd/glGetError bug? Brian Paul