SDL_video.c: move ngage video before offscreen.

Reference issue: https://github.com/libsdl-org/SDL/pull/8069.
This commit is contained in:
Ozkan Sezer
2023-08-02 17:02:02 +03:00
parent 843572d993
commit fb3ab3f113
+4 -3
View File
@@ -18,6 +18,7 @@
misrepresented as being the original software. misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#include "SDL_internal.h" #include "SDL_internal.h"
/* The high-level video driver subsystem */ /* The high-level video driver subsystem */
@@ -118,12 +119,12 @@ static VideoBootStrap *bootstrap[] = {
#ifdef SDL_VIDEO_DRIVER_QNX #ifdef SDL_VIDEO_DRIVER_QNX
&QNX_bootstrap, &QNX_bootstrap,
#endif #endif
#ifdef SDL_VIDEO_DRIVER_OFFSCREEN
&OFFSCREEN_bootstrap,
#endif
#ifdef SDL_VIDEO_DRIVER_NGAGE #ifdef SDL_VIDEO_DRIVER_NGAGE
&NGAGE_bootstrap, &NGAGE_bootstrap,
#endif #endif
#ifdef SDL_VIDEO_DRIVER_OFFSCREEN
&OFFSCREEN_bootstrap,
#endif
#ifdef SDL_VIDEO_DRIVER_DUMMY #ifdef SDL_VIDEO_DRIVER_DUMMY
&DUMMY_bootstrap, &DUMMY_bootstrap,
#ifdef SDL_INPUT_LINUXEV #ifdef SDL_INPUT_LINUXEV