fixed issue with minification filter

This only appeared recently. I have no idea why. Now the app is dog-slow if more than one texture is used. This is pretty awful, really.