summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_draw.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-12-15 12:17:26 +0100
committerJakob Bornecrantz <[email protected]>2010-12-16 09:44:02 +0100
commit23aa3c552cc54a3242142b82916090f8b7b32e44 (patch)
tree24f476f2b3a4254d06de905b9dcdd4e93ac02c66 /src/gallium/drivers/svga/svga_draw.c
parent1138775d79dfe9043cf9e6c77a9077b0acc0a239 (diff)
svga, glhd: Remove incorrect assert and add note
Stride can be lower then the size of the attribute. But should probably be aligned to component size atleast for floats.
Diffstat (limited to 'src/gallium/drivers/svga/svga_draw.c')
-rw-r--r--src/gallium/drivers/svga/svga_draw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_draw.c b/src/gallium/drivers/svga/svga_draw.c
index 81dd4778d0a..97cbac447d6 100644
--- a/src/gallium/drivers/svga/svga_draw.c
+++ b/src/gallium/drivers/svga/svga_draw.c
@@ -315,7 +315,6 @@ enum pipe_error svga_hwtnl_prim( struct svga_hwtnl *hwtnl,
break;
}
- assert(!stride || width <= stride);
if (max_index != ~0) {
assert(offset + (index_bias + max_index) * stride + width <= size);
}