mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
Fixed error C2054: expected '(' to follow 'inline'
This commit is contained in:
parent
a7ae1de9a6
commit
dc2a5f6ab2
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue