While we’re on a bug roundup, I’ve always noticed with SDL that if you call
UpdateRects with a rectangle that’s outside the bounds of the surface you’re
updating to, you get an Xlib error like so (e.g. on an 800x600 screen) :
Updating rect 396,494,188,187
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 147 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0xbb
Serial number of failed request: 16
Current serial number in output stream: 17
Should UpdateRects perform this kind of clipping itself, or is this
deliberately the caller’s responsibility? So far I’ve always been careful but
I wonder whether this shouldn’t happen automatically.–
Matthew > http://www.soup-kitchen.net/
> ICQ 19482073