Removed inline functions to fix OSX 10.5
This commit is contained in:
parent
a2b976cc4e
commit
aec0c3b8b5
6
shared.c
6
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue