From 5454af00578a13d358b70dd4bc1a598159597a49 Mon Sep 17 00:00:00 2001 From: Branimir Karadzic Date: Mon, 22 Oct 2012 21:43:44 -0700 Subject: [PATCH] Removed fake_a variable. --- 3rdparty/stb_image/stb_image.c | 1 - 1 file changed, 1 deletion(-) diff --git a/3rdparty/stb_image/stb_image.c b/3rdparty/stb_image/stb_image.c index 380e46fa..f258d9c1 100644 --- a/3rdparty/stb_image/stb_image.c +++ b/3rdparty/stb_image/stb_image.c @@ -3000,7 +3000,6 @@ static stbi_uc *bmp_load(stbi *s, int *x, int *y, int *comp, int req_comp) mg = 0xffu << 8; mb = 0xffu << 0; ma = 0xffu << 24; - fake_a = 1; // @TODO: check for cases like alpha value is all 0 and switch it to 255 } else { mr = 31u << 10; mg = 31u << 5;