http://bugs.freedesktop.org/show_bug.cgi?id=11524
Summary: Segment fault when call DrawElements if use VBO under
indirect rendering
Product: Mesa
Version: CVS
Platform: Other
OS/Version: Linux (All)
Status: NEW
Severity: minor
Priority: low
Component: Mesa core
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I used indirect rendering by export LIBGL_ALWAYS_INDIRECT=1. Then run my test
case(see attachment), it reported segment fault:
#0 emit_DrawElements_old (mode=7, count=4, type=5125, indices=0x0)
at indirect_vertex_array.c:797
#1 0xb7eab6f3 in __indirect_glDrawElements (mode=7, count=4, type=5125,
indices=0x0) at indirect_vertex_array.c:975
#2 0xb7ec0b6d in glDrawElements (mode=7, count=4, type=5125, indices=0x0)
at ../../../src/mesa/glapi/glapitemp.h:1655
#3 0x08048ade in test () at drawElements.c:50
#4 0x08048bb3 in display () at drawElements.c:66
In the test case, I use Buffer object to store vertex data and index data.
If I used direct rendering with i915 driver, the case output:
pixels in (5,6): 0.800000 0.501961 0.200000
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev