Remove useless glGenerateMipmap check

This commit is contained in:
David Vierra 2015-09-06 16:21:40 -10:00
parent e89e69e046
commit 5614e10744

View File

@ -120,8 +120,6 @@ class TextureAtlas(object):
maxSize = self.overrideMaxSize
maxLOD = min(4, self._maxLOD)
if not bool(GL.glGenerateMipmap):
maxLOD = 0
if maxLOD:
borderSize = 1 << (maxLOD - 1)
else: