mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-08-03 14:25:33 +02:00
Fix debug message for Steam_Utils::GetImageRGBA().
This commit is contained in:
parent
f560fce352
commit
bfb0272300
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue