We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 930498a commit 89a1f73Copy full SHA for 89a1f73
tools/ktx/command_create.cpp
@@ -1515,7 +1515,7 @@ void CommandCreate::executeCreate() {
1515
uint32_t bitLength;
1516
try {
1517
bitLength = target.format().channelBitLength();
1518
- } catch(std::runtime_error e) {
+ } catch(...) {
1519
// This happens if channels have different bit length. Check just R.
1520
// If format is something like RGB565, any channel length would fail
1521
// the bitLength test so picking R doesn't matter.
0 commit comments