Eero Pajarre wrote:
> 
> 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"

Someone had reported to me a bug related to this.  His application
had a call to glGetError() after _every_ GL call, even, glBegin,
glVertex, etc.  Mesa was crashing on him, inside one of the glGetError
calls.  I made a small change to it on Saturday and he reported that
it fixed his problem.  Perhaps Keith and you should take a look at
it too.

-Brian

----------------------------------------------------------------------
Brian Paul        Avid Technology / Softimage      [EMAIL PROTECTED]


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to