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





--- Comment #30 from Ian Romanick <[email protected]>  2009-10-15 17:32:54 
PST ---
(In reply to comment #23)
> (In reply to comment #21)
> > +gl_mesh_testarrayelement 1 with message:
> > nexuiz-linux-x86_64-glx: main/api_arrayelt.c:1316: _ae_invalidate_state:
> > Assertion `!actx->mapped_vbos' failed.
> 
> This is an interesting restriction (although logical) - glArrayElement does 
> not
> support vertex arrays inside buffer objects?

Could you explain what you mean by this?  Parts of this discussion are
difficult to follow.  It should be valid to use glArrayElement to source vertex
data from a buffer object.

The following code should work fine.  If not, then there's definitely a bug.

    glBindBuffer(GL_ARRAY_BUFFER);
    glVertexAttribPointer(0, ...);
    glEnableVertexAttribArray(0);

    glBegin(GL_TRIANGLES);
    glArrayElement(0);
    glArrayElement(1);
    glArrayElement(2);
    glEnd();


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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to