gcc fixes

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1643 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-02-12 05:22:41 +00:00
parent 072cc6d525
commit 9e31b42e72
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ void quad(GLuint tex, float x, float y, float s, float tx, float ty, float tsx,
xtraverts += 4;
}
void quad(GLuint tex, vec &c1, vec &c2, float tx, float ty, float tsx, float tsy)
void quad(GLuint tex, const vec &c1, const vec &c2, float tx, float ty, float tsx, float tsy)
{
if(!tsy) tsy = tsx;
glBindTexture(GL_TEXTURE_2D, tex);