[PATCH 04/20] Export Screen_SetSDLVideoSize() |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- Subject: [PATCH 04/20] Export Screen_SetSDLVideoSize()
- From: Thomas Huth <huth@xxxxxxxxxxxxx>
- Date: Mon, 25 Dec 2023 12:15:19 +0100
---
src/includes/screen.h | 1 +
src/screen.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/includes/screen.h b/src/includes/screen.h
index 63d13c66..11493811 100644
--- a/src/includes/screen.h
+++ b/src/includes/screen.h
@@ -105,6 +105,7 @@ extern int STScreenLineOffset[NUM_VISIBLE_LINES];
extern void Screen_Init(void);
extern void Screen_UnInit(void);
extern void Screen_Reset(void);
+extern bool Screen_SetSDLVideoSize(int width, int height, bool bForceChange);
extern bool Screen_Lock(void);
extern void Screen_UnLock(void);
extern void Screen_SetFullUpdate(void);
diff --git a/src/screen.c b/src/screen.c
index e64701ec..089ecc66 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -383,7 +383,7 @@ void Screen_SetTextureScale(int width, int height, int win_width, int win_height
* Change the SDL video mode.
* @return true if mode has been changed, false if change was not necessary
*/
-static bool Screen_SetSDLVideoSize(int width, int height, bool bForceChange)
+bool Screen_SetSDLVideoSize(int width, int height, bool bForceChange)
{
Uint32 sdlVideoFlags;
char *psSdlVideoDriver;
--
2.48.1
--MP_/VkVZp1l8MIESxWVe2vPSxV2
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=0005-Remove-unnecessary-cruft-from-memory.c-memory.h.patch