SDL_video: try to bootstrap KMSDRM before RPI video driver
authorConn O'Griofa <connogriofa@gmail.com>
Sat, 04 Nov 2017 09:03:20 -0700
changeset 1167518e285e9e1be
parent 11674 3f1de86751e4
child 11676 591e138c5a04
SDL_video: try to bootstrap KMSDRM before RPI video driver
Allow better coexistence between RPI's vendor libraries and VC4 mesa driver.
src/video/SDL_video.c
     1.1 --- a/src/video/SDL_video.c	Sat Nov 04 09:00:40 2017 -0700
     1.2 +++ b/src/video/SDL_video.c	Sat Nov 04 09:03:20 2017 -0700
     1.3 @@ -97,11 +97,11 @@
     1.4  #if SDL_VIDEO_DRIVER_PSP
     1.5      &PSP_bootstrap,
     1.6  #endif
     1.7 +#if SDL_VIDEO_DRIVER_KMSDRM
     1.8 +    &KMSDRM_bootstrap,
     1.9 +#endif
    1.10  #if SDL_VIDEO_DRIVER_RPI
    1.11      &RPI_bootstrap,
    1.12 -#endif 
    1.13 -#if SDL_VIDEO_DRIVER_KMSDRM
    1.14 -    &KMSDRM_bootstrap,
    1.15  #endif
    1.16  #if SDL_VIDEO_DRIVER_NACL
    1.17      &NACL_bootstrap,