ref: 6bdb40694082b8fd51cef236eb1acc1ab1ed6f86
parent: f006508232e66f68bd210f10116e7927e6f5693e
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Apr 21 20:14:08 EDT 2020
Also consistency with enhanced branch
--- a/src/Bitmap.cpp
+++ b/src/Bitmap.cpp
@@ -23,11 +23,11 @@
if (file_buffer != NULL)
{
- unsigned char *pixel_buffer = stbi_load_from_memory(file_buffer, file_size, (int*)width, (int*)height, NULL, 3);
+ unsigned char *image_buffer = stbi_load_from_memory(file_buffer, file_size, (int*)width, (int*)height, NULL, 3);
free(file_buffer);
- return pixel_buffer;
+ return image_buffer;
}
return NULL;