dri: Take the base image size into account when computing
first level of the mipmap.  fix #16210
2 files changed