From 4c382aafcdc8ae7c5b7bf6af106d4989e02f6448 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 6 Sep 2024 08:54:05 -0700
Subject: [PATCH] Fixed building on Raspberry Pi
---
src/video/raspberry/SDL_rpimouse.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/video/raspberry/SDL_rpimouse.c b/src/video/raspberry/SDL_rpimouse.c
index 6da89ed1e717e..fba93badbacac 100644
--- a/src/video/raspberry/SDL_rpimouse.c
+++ b/src/video/raspberry/SDL_rpimouse.c
@@ -108,8 +108,7 @@ static bool RPI_ShowCursor(SDL_Cursor *cursor)
SDL_DisplayData *data;
VC_DISPMANX_ALPHA_T alpha = { DISPMANX_FLAGS_ALPHA_FROM_SOURCE /* flags */, 255 /*opacity 0->255*/, 0 /* mask */ };
uint32_t layer = SDL_RPI_MOUSELAYER;
- const char *int;
- bool result;
+ const char *hint;
if (cursor != global_cursor) {
if (global_cursor) {