Added missing parameter for checking mipmaps