fix warning about SkPoint initialization

git-svn-id: http://skia.googlecode.com/svn/trunk@1717 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2011-06-24 19:17:37 +00:00
parent f5f83e1f7e
commit 1ca4f26039

View File

@ -167,7 +167,10 @@ protected:
this->setupPaint(&paint);
const SkRect r = { 0, 0, SkIntToScalar(4), SkIntToScalar(4) };
const SkPoint pts[] = { 0, 0, SkIntToScalar(100), SkIntToScalar(100) };
const SkPoint pts[] = {
{ 0, 0 },
{ SkIntToScalar(100), SkIntToScalar(100) },
};
for (int i = 0; i < 1000; i++) {
const int a = i % 256;