From acdd413fe35c6cb8e58fea48d77e76079d8e3336 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Tue, 5 Feb 2008 15:06:30 +0000 Subject: [PATCH] mac compile fix git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1596 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/texture.cpp b/source/src/texture.cpp index 9d2e9e0f..a17b9963 100644 --- a/source/src/texture.cpp +++ b/source/src/texture.cpp @@ -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);