mac compile fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1596 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-02-05 15:06:30 +00:00
parent 10c07cf6e9
commit acdd413fe3
+1 -1
View File
@@ -377,7 +377,7 @@ void inittmus()
else if(hasTE && hasMT)
{
glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB, &val);
maxtmus = max(1, min(4, val));
maxtmus = max(1, min(4, int(val)));
loopi(maxtmus)
{
glActiveTexture_(GL_TEXTURE0_ARB+i);