mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-04-21 10:20:46 +00:00
Fix warning
This commit is contained in:
parent
9b812a1f1e
commit
644500de61
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ void VkTextureManager::CreateLightmap(int newLMTextureSize, int newLMTextureCoun
|
|||
|
||||
auto cmdbuffer = fb->GetCommands()->GetTransferCommands();
|
||||
|
||||
if (newPixelData.Size() >= w * h * count * 3)
|
||||
if (newPixelData.Size() >= (size_t)w * h * count * 3)
|
||||
{
|
||||
assert(newPixelData.Size() == w * h * count * 3);
|
||||
|
||||
|
|
Loading…
Reference in a new issue