Commit 976328bb0f7c670c0f8964f92c81ac5224985143

Sam Lantinga 2021-11-28T08:54:18

Fixed ABI break in SDL test header

diff --git a/include/SDL_test_common.h b/include/SDL_test_common.h
index 65a38c8..27a57bd 100644
--- a/include/SDL_test_common.h
+++ b/include/SDL_test_common.h
@@ -73,7 +73,6 @@ typedef struct
     int window_minH;
     int window_maxW;
     int window_maxH;
-    SDL_Rect confine;
     int logical_w;
     int logical_h;
     float scale;
@@ -115,6 +114,10 @@ typedef struct
     int gl_minor_version;
     int gl_debug;
     int gl_profile_mask;
+
+    /* Additional fields added in 2.0.18 */
+    SDL_Rect confine;
+
 } SDLTest_CommonState;
 
 #include "begin_code.h"