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

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

2013-04-24 Thread Brian Paul
If we're in GL_COMPILE_AND_EXECUTE mode and inside glBegin, calling glEndList() should generate an error. Fixes a failure in piglit's gl-1.0-beginend-coverage test. --- src/mesa/main/dlist.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/dlist.c b/src/