SiegeEngine / ddsfile

DirectDraw Surface file format parser/composer
MIT License
12 stars 12 forks source link

Add the `CUBEMAP_ALLFACES` flag on `Caps2` #14

Closed Kanabenki closed 1 year ago

Kanabenki commented 1 year ago

CUBEMAP_ALLFACES is an utility flag for checking that a cubemap is complete that seems defined in the DDS format definition header according to this doc.

I also took the liberty of adding [rustfmt::skip] in the two places where special indentation was used, sadly as attributes on expressions aren't stable that meant adding an additional binding in one case.