Explorar el Código

Fixed ABI break in SDL test header

Sam Lantinga hace 3 años
padre
commit
976328bb0f
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      include/SDL_test_common.h

+ 4 - 1
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"