Richard Guenther wrote:
> 
> Hi!
> 
> I get SIGSEGVs in feedback.c:gl_do_feedback_vertex()
> at the line
> 
>    gl_feedback_vertex( ctx, win, color, VB->IndexPtr->data[v], tc );
> 
> VB->IndexPtr is NULL.
> 
> The fault is on my side, though as I rendered geometry without
> Normals in twoside-lightning mode.
> But at least, it shouldnt segfault!?

I'll put in a test for NULL and return an index = 0 in that case.

KeithW, is VB->IndexPtr only valid in color-index mode?

-Brian


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to