-
Jacob Boerema authored
We compute the size of the mipmapped layers wrong. We assume that width, height are always exactly a power of 2, which is the normal case for dds images. See issue #11256. Since other sizes are possible, we adjust this by computing the width times height times bytes per pixel of the current mimmap level.