mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Upgrade clang-format and clang-tidy (NFC) (#3422)
This commit is contained in:
@@ -243,8 +243,9 @@ void gui::DeleteTexture(ImTextureID texture) {
|
||||
if (!gPlatformValid) {
|
||||
return;
|
||||
}
|
||||
if (texture)
|
||||
if (texture) {
|
||||
static_cast<ID3D11ShaderResourceView*>(texture)->Release();
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace wpi
|
||||
|
||||
Reference in New Issue
Block a user