Fix Fixed-Point build by changing static_assert around scalar=float to a runtime crash.
git-svn-id: http://skia.googlecode.com/svn/trunk@4222 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGLPath.cpp b/src/gpu/gl/GrGLPath.cpp
index 2fceaa3..e09d073 100644
--- a/src/gpu/gl/GrGLPath.cpp
+++ b/src/gpu/gl/GrGLPath.cpp
@@ -57,7 +57,9 @@
SkPath::Iter iter(path, true);
SkSTArray<16, GrGLubyte, true> pathCommands;
- GR_STATIC_ASSERT(SK_SCALAR_IS_FLOAT); // assuming SkPoint is floats
+#ifndef SK_SCALAR_IS_FLOAT
+ GrCrash("Expected scalar is float.");
+#endif
SkSTArray<16, SkPoint, true> pathPoints;
int verbCnt = path.countVerbs();