summaryrefslogtreecommitdiff
path: root/src/sna/gen4_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/gen4_render.c')
-rw-r--r--src/sna/gen4_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index 92802469..4abcb97b 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -661,8 +661,8 @@ start:
goto start;
}
- assert(op->floats_per_rect >= vertex_space(sna));
assert(rem <= vertex_space(sna));
+ assert(op->floats_per_rect <= rem);
if (want > 1 && want * op->floats_per_rect > rem)
want = rem / op->floats_per_rect;