Removed custom mipmap generation that wasn't really needed