From fb3ab3f113b252dd731221f419dbcb92f7604efa Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 2 Aug 2023 17:02:02 +0300 Subject: [PATCH] SDL_video.c: move ngage video before offscreen. Reference issue: https://github.com/libsdl-org/SDL/pull/8069. --- src/video/SDL_video.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index f3637f1ce04a0..32cec7965aeed 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -18,6 +18,7 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ + #include "SDL_internal.h" /* The high-level video driver subsystem */ @@ -118,12 +119,12 @@ static VideoBootStrap *bootstrap[] = { #ifdef SDL_VIDEO_DRIVER_QNX &QNX_bootstrap, #endif -#ifdef SDL_VIDEO_DRIVER_OFFSCREEN - &OFFSCREEN_bootstrap, -#endif #ifdef SDL_VIDEO_DRIVER_NGAGE &NGAGE_bootstrap, #endif +#ifdef SDL_VIDEO_DRIVER_OFFSCREEN + &OFFSCREEN_bootstrap, +#endif #ifdef SDL_VIDEO_DRIVER_DUMMY &DUMMY_bootstrap, #ifdef SDL_INPUT_LINUXEV