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

Brian Paul brianp at vmware.com
Thu Apr 25 07:47:07 PDT 2013


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 that?

Well, Eric's beginend-coverage piglit test checks for this in the 
test_endlist() function.  It makes sense to me- a limited set of gl 
functions can be called between glBegin/End and glEndList would seem 
to be one of those.

However, NVIDIA's driver does not raise an error in this case and 
fails that part of the beginend-coverage test.

Perhaps we should remove that part of beginend-coverage?  Eric?

-Brian


More information about the mesa-dev mailing list