From 3d1d1e359feb65521d928db44824e0da70836bb2 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Wed, 6 Mar 2013 20:57:05 -0500 Subject: [PATCH] Actually, it turns out the min/max thing was an MSVC issue. --- BPTCEncoder/src/BC7Compressor.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BPTCEncoder/src/BC7Compressor.cpp b/BPTCEncoder/src/BC7Compressor.cpp index e39eeff..f09f4d8 100755 --- a/BPTCEncoder/src/BC7Compressor.cpp +++ b/BPTCEncoder/src/BC7Compressor.cpp @@ -78,6 +78,11 @@ # include "Windows.h" #endif +#ifdef _MSC_VER +# undef min +# undef max +#endif // _MSC_VER + #include #include #include