From 976328bb0f7c670c0f8964f92c81ac5224985143 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 28 Nov 2021 08:54:18 -0800
Subject: [PATCH] Fixed ABI break in SDL test header
---
include/SDL_test_common.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/SDL_test_common.h b/include/SDL_test_common.h
index 65a38c894f2..27a57bde0da 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"