• Sam Lantinga's avatar
    Fixed bug #798 · 259a7254
    Sam Lantinga authored
    kty@lavabit.com      2009-09-19 14:19:04 PDT
    
    The stable release of SDL 1.2.13 for BeOS/Haiku has a bug in
    BE_FindClosestFSMode that causes it to sometimes not select the best mode when
    going fullscreen. There are in fact two bugs in the implementation but I will
    not go into specifics because there is already a patch for it in the developer
    SVN 1.3. However I am still reporting it because I believe the following code
    is a better patch for the issue. The current implementation on SVN only works
    if it is able to find an exact match for the requested mode. However, by
    scanning from lowest-to-highest resolution instead of highest-to-lowest, one
    can find the best mode at all times
    
    --HG--
    branch : SDL-1.2
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403997
    259a7254
Name
Last commit
Last update
..
SDL_BView.h Loading commit data...
SDL_BWin.h Loading commit data...
SDL_lowvideo.h Loading commit data...
SDL_sysevents.cc Loading commit data...
SDL_sysevents_c.h Loading commit data...
SDL_sysmouse.cc Loading commit data...
SDL_sysmouse_c.h Loading commit data...
SDL_sysvideo.cc Loading commit data...
SDL_syswm.cc Loading commit data...
SDL_syswm_c.h Loading commit data...
SDL_sysyuv.cc Loading commit data...
SDL_sysyuv.h Loading commit data...