mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Switched Image filter modes to use the new string constant system
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user