[build] Upgrade clang-format and clang-tidy (NFC) (#3422)

This commit is contained in:
Tyler Veness
2021-06-10 11:13:09 -07:00
committed by GitHub
parent 099fde97d5
commit a77c6ff3a2
29 changed files with 66 additions and 48 deletions

View File

@@ -243,8 +243,9 @@ void gui::DeleteTexture(ImTextureID texture) {
if (!gPlatformValid) {
return;
}
if (texture)
if (texture) {
static_cast<ID3D11ShaderResourceView*>(texture)->Release();
}
}
} // namespace wpi