summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-11-07 13:07:52 -0800
committerCorbin Simpson <[email protected]>2009-11-07 13:07:52 -0800
commitc4fa0e4caa0aeb5cce9bd871f9156da25a9ec404 (patch)
treee82163e32714fe9bef5d303a283b3d23e3554758 /src/gallium/drivers/r300
parentb7322fd874b99ca16d209c783c0b3db7c5f9a366 (diff)
r300g: Remove faulty assert.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_vbo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_vbo.c b/src/gallium/drivers/r300/r300_vbo.c
index d8b356a0617..7e88bf3b7ce 100644
--- a/src/gallium/drivers/r300/r300_vbo.c
+++ b/src/gallium/drivers/r300/r300_vbo.c
@@ -152,13 +152,11 @@ static void setup_vertex_buffers(struct r300_context *r300)
finish_vertex_arrays_setup(r300);
}
+/* XXX these shouldn't be asserts since we can work around bad indexbufs */
void setup_index_buffer(struct r300_context *r300,
struct pipe_buffer* indexBuffer,
unsigned indexSize)
{
- /* XXX I call BS; why is this different from the assert in r300_render? */
- assert(indexSize = 2);
-
if (!r300->winsys->add_buffer(r300->winsys, indexBuffer,
RADEON_GEM_DOMAIN_GTT, 0)) {
assert(0);