A few more uses of const

This commit is contained in:
Chuck Walbourn
2022-05-12 12:24:53 -07:00
parent 49c4299f74
commit 3eed3ae913
3 changed files with 5 additions and 5 deletions

View File

@@ -1944,7 +1944,7 @@ HRESULT DirectX::LoadFromDDSFile(
}
#ifdef _WIN32
auto pixelBytes = static_cast<DWORD>(image.GetPixelsSize());
auto const pixelBytes = static_cast<DWORD>(image.GetPixelsSize());
if (!ReadFile(hFile.get(), image.GetPixels(), pixelBytes, &bytesRead, nullptr))
{
image.Release();