lib/mittsu/renderers/opengl/textures/texture.rb in mittsu-0.3.0 vs lib/mittsu/renderers/opengl/textures/texture.rb in mittsu-0.3.1
- old
+ new
@@ -75,10 +75,10 @@
end
end
# Fallback filters for non-power-of-2 textures
def filter_fallback(filter)
- if filter == NearestFilter || filter == NearestMipMapNearestFilter || f == NearestMipMapLinearFilter
+ if filter == NearestFilter || filter == NearestMipMapNearestFilter || filter == NearestMipMapLinearFilter
GL_NEAREST
end
GL_LINEAR
end