Make scalar benchmarks compile and run under SKIA_SCALAR=fixed as well as float.

git-svn-id: http://skia.googlecode.com/svn/trunk@1516 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
tomhudson@google.com 2011-06-06 17:55:11 +00:00
parent 521ed7c7c2
commit 25583a3812

View File

@ -1,4 +1,5 @@
#include "SkBenchmark.h"
#include "SkFloatBits.h"
#include "SkRandom.h"
#include "SkString.h"
@ -85,7 +86,7 @@ protected:
}
private:
static const int32_t kPersp1Int = 0x3f800000;
float fArray[9];
SkScalar fArray[9];
typedef ScalarBench INHERITED;
};