mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 05:56:24 +08:00
Fixed error C2054: expected '(' to follow 'inline'
This commit is contained in:
@@ -23,8 +23,7 @@
|
|||||||
|
|
||||||
/* Internal implementation of SDL_ReadSurfacePixel, shared between SDL_shape
|
/* Internal implementation of SDL_ReadSurfacePixel, shared between SDL_shape
|
||||||
* and SDLTest */
|
* and SDLTest */
|
||||||
static inline int
|
static int SDL_ReadSurfacePixel_impl(SDL_Surface *surface, int x, int y, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a)
|
||||||
SDL_ReadSurfacePixel_impl(SDL_Surface *surface, int x, int y, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a)
|
|
||||||
{
|
{
|
||||||
Uint32 pixel = 0;
|
Uint32 pixel = 0;
|
||||||
size_t bytes_per_pixel;
|
size_t bytes_per_pixel;
|
||||||
|
|||||||
Reference in New Issue
Block a user