SDL_video: try to bootstrap KMSDRM before RPI video driver

Allow better coexistence between RPI's vendor libraries and VC4 mesa driver.
This commit is contained in:
Conn O'Griofa 2017-11-04 09:03:20 -07:00
parent 7abef33c5b
commit 547448df6f

View File

@ -97,12 +97,12 @@ static VideoBootStrap *bootstrap[] = {
#if SDL_VIDEO_DRIVER_PSP #if SDL_VIDEO_DRIVER_PSP
&PSP_bootstrap, &PSP_bootstrap,
#endif #endif
#if SDL_VIDEO_DRIVER_RPI
&RPI_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_KMSDRM #if SDL_VIDEO_DRIVER_KMSDRM
&KMSDRM_bootstrap, &KMSDRM_bootstrap,
#endif #endif
#if SDL_VIDEO_DRIVER_RPI
&RPI_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_NACL #if SDL_VIDEO_DRIVER_NACL
&NACL_bootstrap, &NACL_bootstrap,
#endif #endif