From: Luca B. <luc...@gm...> - 2010-03-13 14:47:13
|
>> However, I still have doubts on the semantics of max_index in >> pipe_vertex_buffer. >> Isn't it better to _always_ set it to a valid value, even if it is >> just (vb->buffer->size - vb->buffer_offset) / vb->stride ? > > Yes, indeed. Sorry I must have missed that point in the earlier > emails. I would have thought that was what it was *always* set to > (and thus perhaps redundant). This doesn't seem to be the case, and if I understand correctly, it is the source of the issues Corbin is facing. Quoting Corbin: > - I can't just use the vertex buffer sizes, because they're set to ~0 I assume he was referring max_index |