RLEACCEL Bug in SDL 1.1.0?

An embedded and charset-unspecified text was scrubbed…
Name: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20000223/25d51ca7/attachment.asc

Yes, I had the same problem with 1.0.4, but only on Win32. When I compiled
it on Linux it worked fine (and obviously, when I turned off the RLEACCEL on
Win32 it worked fine). It only happened on certain blits, and your comment
makes me think that it was probably a similar circumstance.—
. Hi,

 I think I found a bug in SDL-1.1.0 when using RLEACCEL.When I blit

the surface pixels outside the dstrect are drawn if the srcrect does not
co-incide with the left OR right boundary of the surface.There is no
problem when srcrect doesn’t co-incide with the bottom or top boundary.For
instance if the surface is of (width,height) = (40,20)
And I try to blit using srcrect from (5,0) to (40,20) or from (0,0) to
(35,20) (Co-ordinates Relative to the surface) Some weird thing gets
drwan.It goes away when I switch off RLEACCEL for that surface.I didn’t
have time to check other versions of SDL.Can Anybody verify this problem??

Can you send me a very simple example that exhibits this problem?
slouken at devolution.com

Thanks!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

Can you send me a very simple example that exhibits this problem?
slouken at devolution.com

Thanks!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
Hey Sam,
I mailed a program to sluken at devolution.com.I really think there’s a problem with RLEACCEL.
For others,
It occurs when I try to blit a part of a surface with RLEACCEL in SDL-1.1,whose left and right
boundaries don’t co-incide with the left an right boundaries of the Surface.

It happens for all Surfaces all the time but the result it is too unpredictable to be a feature.

Hey Sam,
I mailed a program to sluken at devolution.com.I really think there’s a problem with RLEACCEL.

Thanks, I got the program and fixed the bug. It will be fixed in the SDL
1.0.6 release.

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec