Fix warning

This commit is contained in:
Magnus Norddahl 2023-09-15 10:50:41 +02:00 committed by Christoph Oelckers
parent 9b812a1f1e
commit 644500de61

View file

@ -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);