Summary: | __indirect_glInterleavedArrays does not error on negative stride value | ||
---|---|---|---|
Product: | Mesa | Reporter: | Ian Romanick <idr> |
Component: | GLX | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Ian Romanick
2005-11-15 12:41:33 UTC
I'm removing this from the 6.9/7.0 blocker list. The behavior is wrong, but not as wrong as I had thought. The correct error *is* generated, however it is implicitly generated by the call to glVertexPointer within __indirect_glInterleavedArrays. This is wrong because it allows GL state to be modified in an error condition. GL functions are not allowed to modify GL state when an error is generated except under a few specific circumstances (e.g., when the error is GL_NO_MEMORY). I have committed attachment #3807 [details] [review] to both Mesa HEAD and the 6.4 branch. Resolving bug as FIXED. |
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.