[SDL] SDL or Xfree bug?
Xark
xark at linuxbox.fdns.net
Sun Jun 11 07:54:50 PDT 2000
On Sun, 11 Jun 2000, Daniel Heck wrote:
> When I pass a rectangle outside the screen to SDL_UpdateRect(), my program
> aborts with the following error message:
>
> X Error of failed request: BadValue (integer parameter out of range for operation)
> Major opcode of failed request: 129 (MIT-SHM)
> Minor opcode of failed request: 3 (X_ShmPutImage)
> Value in failed request: 0x14
> Serial number of failed request: 436
> Current serial number in output stream: 437
>
> I'm using SDL 1.1.3 and XFree86 3.3.3.
This is a known issue. Basically its up to the application to "clip"
rectangles for UpdateRect as they are basically passed directly to X.
Supposedly this is for speed reasons.
I am not positive but I think it only barfs when the rect is _fully_ off
screen.
At the very least this needs to be documented, but IMO this should be
fixed.
Take it easy,
Xark
More information about the SDL
mailing list