[SDL] Current CVS version of SDL became broken
lestat at i.com.ua
Thu Feb 17 21:53:14 PST 2005
That patch causes segfault, when trying to run lbreakout2 version 2.5.2 (can
be downloaded from http://lgames.sf.net ):
2005-01-12 19:38 slouken
* src/video/SDL_pixels.c: Clarified the code in the pixel format
allocation Added support for direct color 8-bpp modes.
SDL_pixels.c have revision 1.13, I've checked out previous 1.12 revision
without that patch, all working fine !
I'm right now fixing QNX6 code of SDL, so haven't a much free time to
discover what happens in SDL internals, but looks like palette is not
created for some surfaces, and without checking it for NULL it passed to
Map1toN() function where it segfaults. But the root of the problem located
in this applied patch.
With best regards, Mike Gorchak. E-mail: lestat at i.com.ua
More information about the SDL