* and it will flush itself if necessary to do so. If this does
* fail, we are basically without usable hardware.
*/
- assert(vbuf->max_vertices < 65536);
+ assert(vbuf->max_vertices < UNDEFINED_VERTEX_ID);
vbuf->vertices = (uint *) vbuf->render->allocate_vertices(vbuf->render,
(ushort) vbuf->vertex_size,
*/
draw_do_flush( draw, DRAW_FLUSH_BACKEND );
- if (vertex_count > 65535) { /* FIXME */
+ if (vertex_count >= UNDEFINED_VERTEX_ID) {
assert(0);
return;
}
*/
draw_do_flush( draw, DRAW_FLUSH_BACKEND );
- if (count > 65535) { /* FIXME */
+ if (count >= UNDEFINED_VERTEX_ID) {
assert(0);
return;
}
*/
draw_do_flush( draw, DRAW_FLUSH_BACKEND );
- if (fetch_count > 65535) { /* FIXME */
+ if (fetch_count >= UNDEFINED_VERTEX_ID) {
assert(0);
return;
}
*/
draw_do_flush( draw, DRAW_FLUSH_BACKEND );
- if (count > 65535) { /* FIXME */
+ if (count >= UNDEFINED_VERTEX_ID)
assert(0);
return;
}
*/
draw_do_flush( draw, DRAW_FLUSH_BACKEND );
- if (count > 65535) /* FIXME */
+ if (count >= UNDEFINED_VERTEX_ID)
return FALSE;
hw_verts = draw->render->allocate_vertices( draw->render,
*/
draw_do_flush( draw, DRAW_FLUSH_BACKEND );
- if (count > 65535) { /* FIXME */
+ if (count >= UNDEFINED_VERTEX_ID) {
assert(0);
return;
}
*/
draw_do_flush( draw, DRAW_FLUSH_BACKEND );
- if (fetch_count > 65535) { /* FIXME */
+ if (fetch_count >= UNDEFINED_VERTEX_ID) {
assert(0);
return;
}
*/
draw_do_flush( draw, DRAW_FLUSH_BACKEND );
- if (count > 65535) /* FIXME */
+ if (count >= UNDEFINED_VERTEX_ID)
return FALSE;
hw_verts = draw->render->allocate_vertices( draw->render,