mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
r300g: Eliminate a couple more asserts.
This commit is contained in:
parent
62afcbb233
commit
bf611cef29
1 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue