Fix gcc compilation as suggested by zero on irc.

This commit is contained in:
riccardom 2009-02-07 17:45:33 +00:00
parent 21c2b4ebfc
commit 5219aca9dd
1 changed files with 1 additions and 1 deletions

View File

@ -711,7 +711,7 @@ static VERT clipPoint(VERT* inside, VERT* outside, int coord)
float t = insideAmount / distance;
#define INTERP(X) ret.##X = interpolate(inside->##X,outside->##X,t);
#define INTERP(X) ret . X = interpolate(inside-> X ,outside-> X ,t)
INTERP(color[0]); INTERP(color[1]); INTERP(color[2]);
INTERP(coord[0]); INTERP(coord[1]); INTERP(coord[2]); INTERP(coord[3]);
INTERP(texcoord[0]); INTERP(texcoord[1]);