From dc2a5f6ab20cd880a5062c293fe60c146acbd8cd Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 10 Oct 2023 16:38:12 -0700
Subject: [PATCH] Fixed error C2054: expected '(' to follow 'inline'
---
src/video/SDL_surface_pixel_impl.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/video/SDL_surface_pixel_impl.h b/src/video/SDL_surface_pixel_impl.h
index 591ac1e9eb65..43985b78b9bd 100644
--- a/src/video/SDL_surface_pixel_impl.h
+++ b/src/video/SDL_surface_pixel_impl.h
@@ -23,8 +23,7 @@
/* Internal implementation of SDL_ReadSurfacePixel, shared between SDL_shape
* and SDLTest */
-static inline int
-SDL_ReadSurfacePixel_impl(SDL_Surface *surface, int x, int y, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a)
+static int SDL_ReadSurfacePixel_impl(SDL_Surface *surface, int x, int y, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a)
{
Uint32 pixel = 0;
size_t bytes_per_pixel;