Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] DdsImporter: Refactor to accomodate for more usecases.
Primary usecase is load one image from all. I would be a shame to have to wait for all images being possibly converted from BGRA to RGBA when loading only one single image. Also, calling `imageData2D/3D` twice was not possible up to now. The strategy now is to do everything which has to be done at least once anyway in `doImageData()` and create the images themselves from stored offsets lazily in `doImageData*D()`. Signed-off-by: Squareys <Squareys@googlemail.com>
- Loading branch information