Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I would like to know how I would go by accessing DDS mipmaps. From what I understand, I need to use FreeImage_OpenMultiBitmap, like this:
FIMULTIBITMAP * mp = FreeImage_OpenMultiBitmap(FREE_IMAGE_FORMAT::FIF_DDS, assetPath.string().c_str(), true, true);
int numPages = FreeImage_GetPageCount(mp);
but numPages returns 0 on a perfectly valid DDS file (verified using another program). So what do I need to do to make it work?