SDL BadValue

Hi there

X Error of failed request: BadValue (integer parameter out of range
for operation) Major opcode of failed request: 148 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x8a
Serial number of failed request: 7088
Current serial number in output stream: 7096

how can i create a event so i can catch it with gdb. Is there anyway
to o it? I was thinking of somethling like: sdl_on_anyerror
(&error_function());

and with gdb i just need to make a: break error_function

i hope someone know what i mean and can help me.

thanks,
byebye Steffen–

Steffen Pohle (@Steffen_Pohle)| _ x
http://stpohle.bei.t-online.de | /#/ BomberClone - The Clone of
JabberID: stpohle at amessage.de ||###| DynaBlaster and Bomberman
ICQ: 370965 Yahoo: stpohle | #/ http://www.bomberclone.de
MSN: stpohle at hotmail.com |

Hi there

X Error of failed request: BadValue (integer parameter out of range
for operation) Major opcode of failed request: 148 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x8a
Serial number of failed request: 7088
Current serial number in output stream: 7096

It sounds like you’re not clipping the values you pass into SDL_UpdateRects()

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment