Skip to content

Commit

Permalink
Fix more -Wswitch
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Nov 27, 2024
1 parent 2a90f4e commit 58f10ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Src/XboxDDSTextureLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,9 @@ namespace
}
}
break;

default:
return HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED);
}

return hr;
Expand Down Expand Up @@ -516,6 +519,9 @@ namespace
return HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED);
}
break;

default:
return HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED);
}

if (xboxext->dxgiFormat == DXGI_FORMAT_UNKNOWN)
Expand Down

0 comments on commit 58f10ed

Please sign in to comment.