diff options
author | Eric Anholt <eric@anholt.net> | 2009-10-30 17:22:58 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-30 17:35:11 -0700 |
commit | d63c29ef20b26aa90fb310216011d03253e4f09b (patch) | |
tree | 6dcab72556cb2c02a0500d54a006fbe4467a436f /src/mesa | |
parent | 21a3a79371c34b20fb3de2af0f031856468bdfed (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.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/x86/read_rgba_span_x86.S | 2 |
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 80144b889c..92b1c2d902 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: |