Sdl 32Bit Surface Crashes


paines

Member
Joined
Sep 16, 2006
Messages
112
Hi

I have problems setting the video mode to 240x240 pixels in 32 Bit on the Wiz via SDL (Fimrware 1.1.0 rev 222).
Any idea what this could be or how to bypass the crash ? GDB also isn't very helpful, cause after the crash I cannot backtrace.

Thanks in advance and best regards
paines
 
I forget particulars (been months), but a number of us keep running into a bug/problem in one of the SDL functions. I think it was CreatSurface or SetSurfacewhatever .. the one that returned a surface pointer, but I forget .. throw some printf/fflush action around those first previous calls and see which is dieing, and print out the options you're using if they're dynamic.

I forget which option it was that caused crashes, but it surprised me at the time as being not the one I expected. Perhaps bit-depth (8/16/whatever), or one of the bitmask options.

Anyway, theres a good chance thats ytour bug, and its relatively easy to work around, just odd that it has to be worked around at all.

jeff
 
Back
Top