http://bugs.freedesktop.org/show_bug.cgi?id=17564

           Summary: glBegin() without glEnd() crashes with an assertion
                    failure.
           Product: DRI
           Version: XOrg 6.7.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libGL
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When creating a display list that contains a glBegin() at the end, I get a
crash with the following assertion failure:

vbo/vbo_save_api.c:1039: vbo_save_EndList: Assertion `save->vertex_size == 0'
failed.

I don't know if glBegin has to come last, or if it just occurs from the lack of
a matching glEnd(). Obviously, this is an error, but should cause a glError,
and not an assertion failure. I came across one other assertion failure
(already reported). My understanding is that nearly all assertion failures are
bugs (probably excluding passing NULL pointers), because all normal errors
should be reported by glError, and not a crash.

Here is my version info:

OpenGL renderer string: Mesa DRI R200 20060602 AGP 4x x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 7.0.3


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to