microsoft / DirectXTex

DirectXTex texture processing library
https://walbourn.github.io/directxtex/
MIT License
1.82k stars 447 forks source link

Break should be return? #70

Closed ramassin closed 6 years ago

ramassin commented 6 years ago

https://github.com/Microsoft/DirectXTex/blob/3a4748ddeb143f2592536ca39aba6ed5e68eb5d6/Texdiag/texdiag.cpp#L443

I guess this should be a return istead of a break? Otherwise the format gets output as , for instance, R32G32B32A32_FLOAT*UNKNOWN*

walbourn commented 6 years ago

Thanks for the report. Fixed in this commit