Bug 17408 (GL_INVALID_OPERATION)

Summary: Invocation of the interface glLighti between glBegin and glEnd does not generate GL_INVALID_OPERATION error
Product: Mesa Reporter: Artak Petrosyan <apetrosyan>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 6.4   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Artak Petrosyan 2008-09-02 04:54:06 UTC
The standard states:
"GL_INVALID_OPERATION is generated if glLight is executed between the execution of glBegin and the corresponding execution of glEnd.", but invocation of the interface glLighti between glBegin and glEnd does not generate GL_INVALID_OPERATION error.
Comment 1 Roland Scheidegger 2008-09-02 06:30:17 UTC
*** Bug 17410 has been marked as a duplicate of this bug. ***
Comment 2 Roland Scheidegger 2008-09-02 06:51:39 UTC
Fix pushed to master (418b6035133e4e10bdc46fe39af192afd087dd69) and mesa_7_2_branch.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.