瀏覽代碼

Update squish library to compile under Linux

There is a fix in the libsquish repository to make v1.11 compile under
Linux.  http://code.google.com/p/libsquish/  This involves adding an
#include <limits.h> to a couple of files.
DavidWyand-GG 12 年之前
父節點
當前提交
e6abbee773
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      Engine/lib/squish/alpha.cpp
  2. 1 0
      Engine/lib/squish/singlecolourfit.cpp

+ 1 - 0
Engine/lib/squish/alpha.cpp

@@ -25,6 +25,7 @@
    
 #include "alpha.h"
 #include <algorithm>
+#include <limits.h> 
 
 namespace squish {
 

+ 1 - 0
Engine/lib/squish/singlecolourfit.cpp

@@ -26,6 +26,7 @@
 #include "singlecolourfit.h"
 #include "colourset.h"
 #include "colourblock.h"
+#include <limits.h> 
 
 namespace squish {