*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@944 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-04-08 22:23:22 +00:00
parent ca3262022e
commit f4637f7f62
+2 -1
View File
@@ -419,6 +419,7 @@ VERTWT(vertwmtc, {
vertw(x+watersubdiv, hf, y+watersubdiv, t); \
} \
glEnd(); \
nquads += (wy2-wy1-1)/watersubdiv; \
}
void setprojtexmatrix()
@@ -591,7 +592,7 @@ int renderwater(float hf, GLuint reflecttex, GLuint refracttex)
glDisable(GL_BLEND);
glDepthMask(GL_TRUE);
return nquads + (reflecttex ? nquads : 0);
return nquads;
}
void addwaterquad(int x, int y, int size) // update bounding rect that contains water