DarkRadiant: master 8ddcae8c

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 15.06.2021 19:13 master f42738e0
Changeset Add test for DDS mipmap loading

Add a new method Image::getLevels() which returns the number of mipmap levels
in a given image. Use this to confirm the expected number of levels when
loading DDS images with/without mipmaps.
mod - include/iimage.h Diff File
mod - libs/RGBAImage.h Diff File
mod - radiantcore/imagefile/dds.cpp Diff File
mod - test/ImageLoading.cpp Diff File
add - test/resources/tdm/textures/dds/test_16x16_uncomp_mips.dds Diff File