summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-02-05 13:52:01 +0100
committerraysan5 <[email protected]>2021-02-05 13:52:01 +0100
commit4407533a41f5b46fd9939d93e6cc711aa08b083a (patch)
tree762d0d255027f82bdb812021cb697edc22eef480 /src/rlgl.h
parent3431d5858611217e14b5422670cd7ddbdc4d3d8f (diff)
downloadraylib-4407533a41f5b46fd9939d93e6cc711aa08b083a.tar.gz
raylib-4407533a41f5b46fd9939d93e6cc711aa08b083a.zip
REVIEWED: DecompressData(), memory reallocation
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 3eec9e16..e279448d 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -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;