From 0e0a4bbba1248fd2e66cfdea52b02d92f77b2e83 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 27 Aug 2024 20:23:10 -0700
Subject: [PATCH] Updated for SDL switching to SDL_bool return values
---
SDL_gesture.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/SDL_gesture.h b/SDL_gesture.h
index 9f3f06e..7d42ea9 100644
--- a/SDL_gesture.h
+++ b/SDL_gesture.h
@@ -198,10 +198,10 @@ static SDL_bool GestureRecordAll = SDL_FALSE;
static void GestureProcessEvent(const SDL_Event *event);
-static int SDLCALL GestureEventWatch(void *userdata, SDL_Event *event)
+static SDL_bool SDLCALL GestureEventWatch(void *userdata, SDL_Event *event)
{
GestureProcessEvent(event);
- return 1;
+ return SDL_TRUE;
}
int Gesture_Init(void)