Fix MIP loading on rectangular or res-limited textures.
Authored by: klaussfreire 2012-02-03
Parent: [r13314]
Child: [r13316]