From 0df4d123db640f4e04b5edb5d04e66ea315bead4 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Fri, 16 Sep 2022 17:05:02 +0300 Subject: [PATCH] SDL_offscreenwindow.c: swap include order of SDL_egl_c.h/SDL_sysvideo.h Fixes redefinition warnings from windows builds. Reference issue: https://github.com/libsdl-org/SDL/issues/6239 (cherry picked from commit d86cb8ec9ef83e48f99c644d127373cf60a67046) --- src/video/offscreen/SDL_offscreenwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/offscreen/SDL_offscreenwindow.c b/src/video/offscreen/SDL_offscreenwindow.c index 6697b016a..4a3cd57c8 100644 --- a/src/video/offscreen/SDL_offscreenwindow.c +++ b/src/video/offscreen/SDL_offscreenwindow.c @@ -23,8 +23,8 @@ #if SDL_VIDEO_DRIVER_OFFSCREEN -#include "../SDL_egl_c.h" #include "../SDL_sysvideo.h" +#include "../SDL_egl_c.h" #include "SDL_offscreenwindow.h"