summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2007-05-25 21:54:45 +0000
committerOliver McFadden <[email protected]>2007-05-25 21:54:45 +0000
commit67ac9bf82216e1fe0c3972d9d3af3007ad937e10 (patch)
tree0dad6820f82c56c8bb9d336dd9ca04874d34b142
parent31a86804aefe167a93d81f1537a24a13204635f2 (diff)
r300: Removed a (disabled and unneeded) assertion.
The r300EmitVec functions don't touch the buf member so the assertion isn't needed here.
-rw-r--r--src/mesa/drivers/dri/r300/r300_emit.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_emit.c b/src/mesa/drivers/dri/r300/r300_emit.c
index 2910344de5f..2f8c4abee50 100644
--- a/src/mesa/drivers/dri/r300/r300_emit.c
+++ b/src/mesa/drivers/dri/r300/r300_emit.c
@@ -182,22 +182,17 @@ static void r300EmitVec(GLcontext * ctx,
{
r300ContextPtr rmesa = R300_CONTEXT(ctx);
- /* Gets triggered when playing with future_hw_tcl_on ... */
- //assert(!rvb->buf);
-
if (stride == 0) {
r300AllocDmaRegion(rmesa, rvb, size * 4, 4);
count = 1;
rvb->aos_offset = GET_START(rvb);
rvb->aos_stride = 0;
} else {
- r300AllocDmaRegion(rmesa, rvb, size * count * 4, 4); /* alignment? */
+ r300AllocDmaRegion(rmesa, rvb, size * count * 4, 4);
rvb->aos_offset = GET_START(rvb);
rvb->aos_stride = size;
}
- /* Emit the data
- */
switch (size) {
case 1:
r300EmitVec4(ctx, rvb, data, stride, count);