diff options
author | Corbin Simpson <[email protected]> | 2009-12-18 14:05:40 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-12-18 14:07:12 -0800 |
commit | bf611cef29d664c2c2b56d2175c3a966c720e8b8 (patch) | |
tree | 1f7eb3876cb700c7a153237ac9345873375b7ab4 /src/gallium/drivers/r300/r300_render.c | |
parent | 62afcbb2338e30aab8c829e92456c073800156f6 (diff) |
r300g: Eliminate a couple more asserts.
Diffstat (limited to 'src/gallium/drivers/r300/r300_render.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_render.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index 425eb9f9ef3..a0d67e76181 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -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); |