From 26b20b78f7589e23c3b89e1c315637cdd0fffc94 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sun, 04 Dec 2016 21:25:26 +0000
Subject: [PATCH] Fix: Can be compiled on MSVS 2013 (12.0.40629.00 update 5), but not on MSVS 2013 (12.0.21005.1)
---
src/stb_image_write.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/stb_image_write.h b/src/stb_image_write.h
index 1048970..f5250b3 100644
--- a/src/stb_image_write.h
+++ b/src/stb_image_write.h
@@ -279,7 +279,7 @@
{
unsigned char scanlineheader[4] = { 2, 2, 0, 0 };
unsigned char rgbe[4];
- float linear[3];
+ float linear[3] = {0};
int x;
scanlineheader[2] = (width&0xff00)>>8;
--
Gitblit v1.10.0