Skip to content
  • Jacob Boerema's avatar
    plug-ins: fix failure to load certain mipmapped DDS images · 5bda6e06
    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.
    5bda6e06