src/video/x11/SDL_x11dyn.c
changeset 5408 35a63789c3f2
parent 5262 b530ef003506
child 5471 179adad3ae6f
equal deleted inserted replaced
5407:40c9d744e595 5408:35a63789c3f2
    44 #define SDL_VIDEO_DRIVER_X11_DYNAMIC NULL
    44 #define SDL_VIDEO_DRIVER_X11_DYNAMIC NULL
    45 #endif
    45 #endif
    46 #ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
    46 #ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
    47 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT NULL
    47 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT NULL
    48 #endif
    48 #endif
    49 #ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER
    49 #ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA
    50 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER NULL
    50 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA NULL
       
    51 #endif
       
    52 #ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT
       
    53 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT NULL
    51 #endif
    54 #endif
    52 #ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
    55 #ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
    53 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR NULL
    56 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR NULL
    54 #endif
    57 #endif
    55 #ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT
       
    56 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT NULL
       
    57 #endif
       
    58 #ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
    58 #ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
    59 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS NULL
    59 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS NULL
       
    60 #endif
       
    61 #ifndef SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE
       
    62 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE NULL
    60 #endif
    63 #endif
    61 
    64 
    62 static x11dynlib x11libs[] = {
    65 static x11dynlib x11libs[] = {
    63     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC},
    66     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC},
    64     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT},
    67     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT},
    65     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER},
    68     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA},
       
    69     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT},
    66     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR},
    70     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR},
    67     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT},
       
    68     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS},
    71     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS},
       
    72     {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE}
    69 };
    73 };
    70 
    74 
    71 static void
    75 static void
    72 X11_GetSym(const char *fnname, int *rc, void **fn)
    76 X11_GetSym(const char *fnname, int *rc, void **fn)
    73 {
    77 {