• 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
..
SDL_x11dga.c Loading commit data...
SDL_x11dga_c.h Loading commit data...
SDL_x11dyn.c Loading commit data...
SDL_x11dyn.h Loading commit data...
SDL_x11events.c Loading commit data...
SDL_x11events_c.h Loading commit data...
SDL_x11gamma.c Loading commit data...
SDL_x11gamma_c.h Loading commit data...
SDL_x11gl.c Loading commit data...
SDL_x11gl_c.h Loading commit data...
SDL_x11image.c Loading commit data...
SDL_x11image_c.h Loading commit data...
SDL_x11modes.c Loading commit data...
SDL_x11modes_c.h Loading commit data...
SDL_x11mouse.c Loading commit data...
SDL_x11mouse_c.h Loading commit data...
SDL_x11sym.h Loading commit data...
SDL_x11video.c Loading commit data...
SDL_x11video.h Loading commit data...
SDL_x11wm.c Loading commit data...
SDL_x11wm_c.h Loading commit data...
SDL_x11yuv.c Loading commit data...
SDL_x11yuv_c.h Loading commit data...