From aec0c3b8b5c51742dc5ddad84807d126bfe5d9b2 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Fri, 26 Dec 2008 08:26:34 +0000 Subject: [PATCH] Removed inline functions to fix OSX 10.5 --- shared.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared.c b/shared.c index 3fd1966..d3c263e 100644 --- a/shared.c +++ b/shared.c @@ -2740,7 +2740,7 @@ int needscollisions(int id) { } #ifdef OPENGL -inline void drawpixel16(SDL_Surface *screen, int x, int y, SDL_Color c) +void drawpixel16(SDL_Surface *screen, int x, int y, SDL_Color c) { Uint8 *bufp; @@ -2761,7 +2761,7 @@ inline void drawpixel16(SDL_Surface *screen, int x, int y, SDL_Color c) #else -inline void drawpixel16(SDL_Surface *s, int x, int y, SDL_Color c) +void drawpixel16(SDL_Surface *s, int x, int y, SDL_Color c) { Uint16 *bufp; @@ -2777,7 +2777,7 @@ inline void drawpixel16(SDL_Surface *s, int x, int y, SDL_Color c) #endif -inline void drawpixel32(SDL_Surface *s, int x, int y, SDL_Color c) +void drawpixel32(SDL_Surface *s, int x, int y, SDL_Color c) { Uint32 *bufp;