swrast: fix span clipping bug
authorBrian Paul <brianp@vmware.com>
Thu, 7 May 2009 15:43:15 +0000 (09:43 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 7 May 2009 15:43:15 +0000 (09:43 -0600)
commit6a3004b9ae58dafd1ce995df78b0f3183827a59d
treecfb6ed644825a3302abe3aab8656997505c97a33
parentcc7170464493453ec8213decd21df95121b236e2
swrast: fix span clipping bug

If a horizontal span of pixels was located at x < 0 we could sometimes
read/write outside of renderbuffer bounds.
src/mesa/swrast/s_span.c
src/mesa/swrast/s_span.h