From 148e59d48e0eaa46bfa6279e5f71c94642d1206c Mon Sep 17 00:00:00 2001 From: Robin KAY Date: Wed, 1 Jan 2003 17:03:49 +0000 Subject: Made goom compile with SunPro cc CVS patchset: 3743 CVS date: 2003/01/01 17:03:49 --- src/post/goom/filters.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/post/goom/filters.c b/src/post/goom/filters.c index 26402c2f3..e33da4e8c 100644 --- a/src/post/goom/filters.c +++ b/src/post/goom/filters.c @@ -91,7 +91,7 @@ static int * firedec = 0 ; /* retourne x>>s , en testant le signe de x */ -inline int ShiftRight (int x, const unsigned char s) +int ShiftRight (int x, const unsigned char s) { if (x<0) return -(-x >> s) ; @@ -148,7 +148,7 @@ void generatePrecalCoef () { px et py indique la nouvelle position (en sqrtperte ieme de pixel) (valeur * 16) */ -inline void calculatePXandPY (int x, int y, int *px, int *py) +void calculatePXandPY (int x, int y, int *px, int *py) { if (theMode == WATER_MODE) { @@ -255,7 +255,7 @@ inline void calculatePXandPY (int x, int y, int *px, int *py) /* #define _DEBUG */ -inline void setPixelRGB(Uint *buffer, Uint x, Uint y, Color c) +void setPixelRGB(Uint *buffer, Uint x, Uint y, Color c) { /* buffer[ y*WIDTH + x ] = (c.r<<16)|(c.v<<8)|c.b */ #ifdef _DEBUG_PIXEL @@ -278,7 +278,7 @@ inline void setPixelRGB(Uint *buffer, Uint x, Uint y, Color c) } -inline void setPixelRGB_ (Uint *buffer, Uint x, Color c) +void setPixelRGB_ (Uint *buffer, Uint x, Color c) { #ifdef _DEBUG if ( x >= resolx*c_resoly ) @@ -301,7 +301,7 @@ inline void setPixelRGB_ (Uint *buffer, Uint x, Color c) -inline void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) +void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) { /* register unsigned char *tmp8; */ unsigned int i; @@ -332,7 +332,7 @@ inline void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) } -inline void getPixelRGB_ (Uint *buffer, Uint x, Color *c) +void getPixelRGB_ (Uint *buffer, Uint x, Color *c) { register unsigned char *tmp8; -- cgit v1.2.3