mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-21 18:58:14 +00:00
REVIEWED: DecompressData(), memory reallocation
This commit is contained in:
@@ -4800,7 +4800,7 @@ static int GenerateMipmaps(unsigned char *data, int baseWidth, int baseHeight)
|
||||
unsigned char *temp = RL_REALLOC(data, size);
|
||||
|
||||
if (temp != NULL) data = temp;
|
||||
else TRACELOG(LOG_WARNING, "TEXTURE: Failed to allocate required mipmaps memory");
|
||||
else TRACELOG(LOG_WARNING, "TEXTURE: Failed to re-allocate required mipmaps memory");
|
||||
|
||||
width = baseWidth;
|
||||
height = baseHeight;
|
||||
|
Reference in New Issue
Block a user