r300g: Eliminate a couple more asserts.

This commit is contained in:
Corbin Simpson 2009-12-18 14:05:40 -08:00
parent 62afcbb233
commit bf611cef29

View file

@ -180,7 +180,6 @@ boolean r300_draw_range_elements(struct pipe_context* pipe,
return FALSE;
}
if (count > 65535) {
return FALSE;
}
@ -197,11 +196,11 @@ boolean r300_draw_range_elements(struct pipe_context* pipe,
if (!r300->winsys->add_buffer(r300->winsys, indexBuffer,
RADEON_GEM_DOMAIN_GTT, 0)) {
assert(0);
return FALSE;
}
if (!r300->winsys->validate(r300->winsys)) {
assert(0);
return FALSE;
}
r300_emit_dirty_state(r300);