/** * Regenerates any dirty mipmaps. e.g.: If there's a texture that has has data added after * creation, that data will not have made it into the lower levels. This method makes sure that it * does */ public static void regenerateMipMaps() { for (GLTexture t : textures) { t.regenerateMipmaps(); } }