• 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
..
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...