summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--DevIL/TODO2
-rw-r--r--DevIL/src-IL/src/il_exr.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/DevIL/TODO b/DevIL/TODO
index d20bd28b..69fc5e85 100644
--- a/DevIL/TODO
+++ b/DevIL/TODO
@@ -7,6 +7,8 @@ Denton:
- Get MNG support working again.
- Better static lib support in MSVC++ 9
- Commenting out lines 729-731 in pngread.c of libpng will allow reading of certain malformed Vista PNG-compressed .ico files with extra data at the end of the stream. An example can be found in test/in and was created using Microangelo.
+- Linking against debug OpenEXR in release DevIL will crash and vice-versa.
+
For 1.7.0
diff --git a/DevIL/src-IL/src/il_exr.cpp b/DevIL/src-IL/src/il_exr.cpp
index b2a42c6a..a0a0b8b1 100644
--- a/DevIL/src-IL/src/il_exr.cpp
+++ b/DevIL/src-IL/src/il_exr.cpp
@@ -62,7 +62,7 @@ ILboolean iLoadExrInternal(ILconst_string FileName)
pixels.resizeErase (dw * dh);
in.setFrameBuffer (pixels - dx - dy * dw, 1, dw);
- try
+ try
{
in.readPixels (dataWindow.min.y, dataWindow.max.y);
}