view test/COPYING @ 4254:8afecb86be35 SDL-1.2

Fixed bug #616 rainer canavan 2009-03-29 12:30:12 PDT add default visual to this->hidden->visuals X11_SetIcon appears to have problems getting the correct bpp for the default visual of my screen. With larger icons, this causes a segfault somewhere in libX11. Instead of adding the default visual to the internal list, I can work around this problem (both the segfault and the distortion) by setting bpp to 32 before sicon = SDL_CreateRGBSurface(...) in X11_SetIcon, although with this patch, it stays at 24.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 27 Sep 2009 22:41:34 +0000
parents e8157fcb3114
children
line wrap: on
line source


The test programs in this directory tree are for demonstrating and
testing the functionality of the SDL library, and are placed in the
public domain.

October 28, 1997
--
	Sam Lantinga				(slouken@libsdl.org)