• Sam Lantinga's avatar
    Fixed bug #616 · 0bb1a612
    Sam Lantinga authored
     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.
    
    --HG--
    branch : SDL-1.2
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403925
    0bb1a612
Name
Last commit
Last update
..
audio Loading commit data...
cdrom Loading commit data...
cpuinfo Loading commit data...
events Loading commit data...
file Loading commit data...
hermes Loading commit data...
joystick Loading commit data...
loadso Loading commit data...
main Loading commit data...
stdlib Loading commit data...
thread Loading commit data...
timer Loading commit data...
video Loading commit data...
SDL.c Loading commit data...
SDL_error.c Loading commit data...
SDL_error_c.h Loading commit data...
SDL_fatal.c Loading commit data...
SDL_fatal.h Loading commit data...