On Sat, May 12, 2012 at 6:28 PM, Jose Fonseca <jfons...@vmware.com> wrote:
> This may come handy in the future, so instead of changing the prototype, 
> please just add a (void)nr_vertex_buffers in the body.

It doesn't produce a warning, so I'll just leave it the way it is.

FWIW, once we add the start_slot parameter into set_vertex_buffers,
nr_vertex_buffers will very likely disappear from most places, because
each vertex buffer slot will be a separate and independent state. The
only things that will matter to drivers are:
1) which slots are used by the vertex element state
2) which slots are enabled (e.g. a non-null resource is bound)

Marek
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to