From: <bug...@fr...> - 2010-02-26 10:44:49
|
http://bugs.freedesktop.org/show_bug.cgi?id=26768 Summary: Segmentation fault with indirect rendering Product: Mesa Version: 7.6 Platform: All OS/Version: All Status: NEW Severity: major Priority: medium Component: GLX AssignedTo: mes...@li... ReportedBy: mar...@x-... When using indirect rendering and the program "framebufferobject" from the Qt demos a segmentation fault happens. The segmentation fault is in src/glx/x11/indirect_vertex_array.c: __glXPushArrayState(), because glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT) is called twice or more times. The solution is to change src/glx/x11/indirect_vertex_array.c, line 293 (function glXInitVertexArrayState) from: arrays->stack = malloc(sizeof(struct array_stack_state) * arrays->num_arrays); to: arrays->stack = malloc( sizeof( struct array_stack_state ) * arrays->num_arrays *__GL_CLIENT_ATTRIB_STACK_DEPTH); -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |