mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-09 14:26:12 +01:00
A few more uses of const
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user