mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator
synced 2025-05-23 21:57:40 +08:00
Fix debug message for Steam_Utils::GetImageRGBA().
This commit is contained in:
parent
f560fce352
commit
bfb0272300
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user