Re: [Mesa-dev] [PATCH 07/14] mesa: add missing error check in _mesa_EndList()

2013-04-25 Thread Eric Anholt
Ian Romanick writes: > On 04/25/2013 02:32 AM, Brian Paul wrote: >> If we're in GL_COMPILE_AND_EXECUTE mode and inside glBegin, calling >> glEndList() should generate an error. > > I wasn't aware that was an error. Is there some spec language that > could be quoted in the code for that? From t

Re: [Mesa-dev] [PATCH 07/14] mesa: add missing error check in _mesa_EndList()

2013-04-25 Thread Brian Paul
On 04/25/2013 12:45 AM, Ian Romanick wrote: On 04/25/2013 02:32 AM, Brian Paul wrote: If we're in GL_COMPILE_AND_EXECUTE mode and inside glBegin, calling glEndList() should generate an error. I wasn't aware that was an error. Is there some spec language that could be quoted in the code for tha

Re: [Mesa-dev] [PATCH 07/14] mesa: add missing error check in _mesa_EndList()

2013-04-24 Thread Ian Romanick
On 04/25/2013 02:32 AM, Brian Paul wrote: If we're in GL_COMPILE_AND_EXECUTE mode and inside glBegin, calling glEndList() should generate an error. I wasn't aware that was an error. Is there some spec language that could be quoted in the code for that? Fixes a failure in piglit's gl-1.0-be