Explorar o código

Fixed error C2054: expected '(' to follow 'inline'

Sam Lantinga %!s(int64=2) %!d(string=hai) anos
pai
achega
dc2a5f6ab2
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/video/SDL_surface_pixel_impl.h

+ 1 - 2
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;