summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-10-30 17:22:58 -0700
committerEric Anholt <[email protected]>2009-10-30 17:35:11 -0700
commitd63c29ef20b26aa90fb310216011d03253e4f09b (patch)
tree6dcab72556cb2c02a0500d54a006fbe4467a436f
parent21a3a79371c34b20fb3de2af0f031856468bdfed (diff)
x86: Fix the test for negative pixel count in optimized rgb565 spans.
There's a bunch of bogus looking stuff the count handling in this code, but this fixes the testcases we have.
-rw-r--r--src/mesa/x86/read_rgba_span_x86.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/x86/read_rgba_span_x86.S b/src/mesa/x86/read_rgba_span_x86.S
index 80144b889c7..92b1c2d902d 100644
--- a/src/mesa/x86/read_rgba_span_x86.S
+++ b/src/mesa/x86/read_rgba_span_x86.S
@@ -522,7 +522,7 @@ _generic_read_RGBA_span_RGB565_MMX:
addl $32,%esp
sarl $2, %ecx
- jle .L01 /* Bail early if the count is negative. */
+ jl .L01 /* Bail early if the count is negative. */
jmp .L02
.L03: