From 6bdb40694082b8fd51cef236eb1acc1ab1ed6f86 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Wed, 22 Apr 2020 00:14:08 +0100 Subject: [PATCH] Also consistency with enhanced branch --- src/Bitmap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bitmap.cpp b/src/Bitmap.cpp index 79b4eeeb..479843e0 100644 --- a/src/Bitmap.cpp +++ b/src/Bitmap.cpp @@ -23,11 +23,11 @@ unsigned char* DecodeBitmapFromFile(const char *path, unsigned int *width, unsig 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;