From d2b514a3c1f5b1eaad20466602f0264e36491b6c Mon Sep 17 00:00:00 2001 From: Ignacio Date: Wed, 10 Oct 2018 16:30:25 -0700 Subject: [PATCH] Comment out hack. --- src/nvimage/ImageIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvimage/ImageIO.cpp b/src/nvimage/ImageIO.cpp index 047cf39..9e67b63 100644 --- a/src/nvimage/ImageIO.cpp +++ b/src/nvimage/ImageIO.cpp @@ -1755,7 +1755,7 @@ static Image * loadSTB(Stream & s) uint8 * data = stbi_load_from_memory(buffer, size, &w, &h, &n, 4); // @@ Hack: STB is returning n=4, because we request 4 components, even when input only has 3. - n = 3; + //n = 3; delete [] buffer;