• Sam Lantinga's avatar
    Date: Wed, 9 Apr 2003 18:21:33 -0230 · bedc128a
    Sam Lantinga authored
    From: Stephen Anthony <stephena@roadrunner.nf.net>
    Subject: [SDL] First patch concerning  4.3 and refresh rates
    
    OK, here's my first draft of the patch for the above subject.
    
    A short explanation:
    
    X 4.3 introduces many more modelines than older versions.  This would be
    fine, except it introduces many modes with the *same* resolution but
    different refresh rates.  And SDL won't necessarily pick the one with the
    highest refresh rate.
    
    So this patch restores SDL to X 4.2 functionality.  That is, there is only
    ever one refresh rate *per* resolution, and it is the highest possible.
    This functionality can be totally disabled by using the environment
    variable 'SDL_VIDEO_X11_USE_ALL_MODES' set equal to 1.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40615
    bedc128a
Name
Last commit
Last update
..
audio Loading commit data...
cdrom Loading commit data...
endian Loading commit data...
events Loading commit data...
file Loading commit data...
hermes Loading commit data...
joystick Loading commit data...
main Loading commit data...
thread Loading commit data...
timer Loading commit data...
video Loading commit data...
.cvsignore Loading commit data...
Makefile.am 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...
SDL_getenv.c Loading commit data...
SDL_loadso.c Loading commit data...
SDL_loadso.h Loading commit data...