From 03f8528315fa46c95991a34f3325d7b33ae5538c Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Sat, 02 May 2020 21:48:36 +0000
Subject: [PATCH] Update source to SDL2 2.0.12
---
source/src/video/android/SDL_androidvideo.h | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/source/src/video/android/SDL_androidvideo.h b/source/src/video/android/SDL_androidvideo.h
index 6dce7ed..4ab22e1 100644
--- a/source/src/video/android/SDL_androidvideo.h
+++ b/source/src/video/android/SDL_androidvideo.h
@@ -1,6 +1,6 @@
/*
Simple DirectMedia Layer
- Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
+ Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@@ -29,22 +29,21 @@
/* Called by the JNI layer when the screen changes size or format */
extern void Android_SetScreenResolution(int surfaceWidth, int surfaceHeight, int deviceWidth, int deviceHeight, Uint32 format, float rate);
+extern void Android_SendResize(SDL_Window *window);
/* Private display data */
typedef struct SDL_VideoData
{
- SDL_Rect textRect;
+ SDL_Rect textRect;
+ int isPaused;
+ int isPausing;
} SDL_VideoData;
extern int Android_SurfaceWidth;
extern int Android_SurfaceHeight;
-extern int Android_DeviceWidth;
-extern int Android_DeviceHeight;
-extern Uint32 Android_ScreenFormat;
extern SDL_sem *Android_PauseSem, *Android_ResumeSem;
-extern SDL_Window *Android_Window;
-
+extern SDL_mutex *Android_ActivityMutex;
#endif /* SDL_androidvideo_h_ */
--
Gitblit v1.9.3