style(sonar): fix cpp:S4962 (#4140)

This commit is contained in:
ReenigneArcher
2025-08-08 00:45:53 -04:00
committed by GitHub
parent dbe80d0f92
commit fc7b9e30c8
20 changed files with 119 additions and 119 deletions

View File

@@ -1739,7 +1739,7 @@ namespace platf::dxgi {
img->data = nullptr;
if (img->encoder_texture_handle) {
CloseHandle(img->encoder_texture_handle);
img->encoder_texture_handle = NULL;
img->encoder_texture_handle = nullptr;
}
// Initialize format-dependent fields