Fix debug message for Steam_Utils::GetImageRGBA().

This commit is contained in:
redpolline 2024-12-11 17:09:06 -05:00
parent f560fce352
commit bfb0272300

View File

@ -117,8 +117,8 @@ bool GetImageRGBA( int iImage, uint8 *pubDest, int nDestBufferSize )
unsigned size = image->second.data.size();
if (nDestBufferSize < size) {
PRINT_DEBUG("GetImageRGBA %i Given buffer too small. Got 0x%x bytes. Need 0x%x bytes.\n", iImage, nDestBufferSize, size);
size = nDestBufferSize;
PRINT_DEBUG("GetImageRGBA %i Given buffer too small. Got 0x%x bytes. Need 0x%x bytes.", iImage, nDestBufferSize, size);
}
image->second.data.copy((char *)pubDest, nDestBufferSize);
return true;