OSDN Git Service

fix a typo
authorRudolf Polzer <divverent@alientrap.org>
Sun, 17 Jul 2011 06:07:24 +0000 (08:07 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 17 Jul 2011 06:07:24 +0000 (08:07 +0200)
s2tc_compress.cpp
tests/compiler-benchmark.sh

index af6e5b0..93b08b5 100644 (file)
@@ -592,7 +592,7 @@ int main(int argc, char **argv)
                bool alphapixels = false;
                for(int y = 0; y < image_height; ++y)
                        for(int x = 0; x < image_width; ++x)
-                               if(picdata[(y*image_width+x)*4+3] != 255)
+                               if(pic[(y*image_width+x)*4+3] != 255)
                                {
                                        alphapixels = true;
                                        break;
index bfcf15b..b9bbb15 100644 (file)
@@ -8,7 +8,7 @@ t()
        echo -n "$*"
 
        good=false
-       eval `use_external=false sh test.sh "$@"`
+       eval `use_external=false sh test.sh --disable-shared --enable-static "$@"`
        if $good; then
                for c in $columns; do
                        eval "v=\$$c"
@@ -25,7 +25,7 @@ t()
 
 #t CXX=/opt/ekopath/bin/pathcc CXXFLAGS="-O3" LDFLAGS="/usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.a"
 t CXX=/opt/intel/bin/icc CXXFLAGS="-O3"
-t CXX=/opt/intel/bin/icc CXXFLAGS="-fast"
+t CXX=/opt/intel/bin/icc AR=/opt/intel/bin/xiar CXXFLAGS="-xHOST -O3 -ipo -no-prec-div"
 t CXX=g++ CXXFLAGS="-O3"
 t CXX=g++ CXXFLAGS="-Ofast"
 t CXX=clang++ CXXFLAGS="-O3"