Eero Pajarre wrote:
> 
> Keith Whitwell wrote:
>
> > The buffer will actually have 3024 elements, leaving enough room for the
> > clipped vertices.  I think the problem is because VB->ColorPtr is zero
> > or pointing to invalid memory.  I've fixed a problem in this area in the
> > experimental branch.  Is it inconvenient to check if it solves your
> > problem?  I should backport this anyway, I guess...
> >
> >
> 
> Are you really sure about the 3024??

You're right - I add the extra in gl_vb_alloc_for_cva(), but not where I
allocate the additional storage required 'pre-vertex_buffer' in
gl_alloc_cva_store().  I've changed the calling line to read:
        gl_alloc_cva_store( cva, cva->VB->Size )

which should do the trick.  Can you test this?

> My examination of the source (gl_alloc_cva_source) and the fprintf
> I have used there seems to indicate the size IS 3000.
> 
> Also I did test this with the experimental branch, and I had problems
> with that
> also (almost certain the problems where identical). So if I did not fail
> with the
> CVS the problem is also there.

Understandable, given the above.

Keith


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

Reply via email to