• 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
..
.cvsignore Loading commit data...
Makefile.am Loading commit data...
SDL_x11dga.c Loading commit data...
SDL_x11dga_c.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_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...