Switched Image filter modes to use the new string constant system

This commit is contained in:
Bill Meltsner
2010-02-09 14:30:41 -05:00
parent 73aba4bdd4
commit e661459103
5 changed files with 112 additions and 27 deletions
+4
View File
@@ -133,6 +133,8 @@ namespace opengl
case FILTER_NEAREST:
gmin = GL_NEAREST;
break;
default:
break;
}
switch(f.mag)
@@ -143,6 +145,8 @@ namespace opengl
case FILTER_NEAREST:
gmag = GL_NEAREST;
break;
default:
break;
}
bind();