diff options
Diffstat (limited to 'gm/points.cpp')
-rw-r--r-- | gm/points.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/points.cpp b/gm/points.cpp index 4aa65975b6..8ac85b7485 100644 --- a/gm/points.cpp +++ b/gm/points.cpp @@ -32,8 +32,8 @@ protected: // Compute these independently and store in variables, rather // than in the parameter-passing expression, to get consistent // evaluation order across compilers. - float y = rand->nextUScalar1() * 480; - float x = rand->nextUScalar1() * 640; + SkScalar y = rand->nextUScalar1() * 480; + SkScalar x = rand->nextUScalar1() * 640; pts[i].set(x, y); } } |