Keith Whitwell wrote:

> 
> OK.  The fix is definitely wrong - the Current.Primitive value is only
> valid after calling a FLUSH_VB().

Ah, didn't know that.


> I reverted to the old code, and modified a couple of
> demos to call glGetError() inside begin/end pairs - but I didn't see the
> crash.
> 
> Brian - is there a demo program or more info about what was happening to
> this guy, or why that change helped him?

I'll ask for one.  I think he was drawing quite a few vertices.
May be dependant on filling the vertex buffer.

A note about glGetError() semantics.  Even though calling glGetError
is illegal between glBegin/glEnd, the primitive should still end up
getting drawn normally.  The general policy is that calling an
illegal command between glBegin/glEnd will record an error but the
command should be a no-op.

-Brian


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

Reply via email to