From 7460b378d68217167013ca889a4cdcae742908e7 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Wed, 25 Apr 2012 16:54:51 +0000 Subject: Fixed minor Release & fixed point compiler warnings on Linux http://codereview.appspot.com/6118050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3766 2bbb7eff-a529-9590-31e7-b0007b416f81 --- samplecode/SampleEffects.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'samplecode/SampleEffects.cpp') diff --git a/samplecode/SampleEffects.cpp b/samplecode/SampleEffects.cpp index bf83bae97e..9aab94af7e 100644 --- a/samplecode/SampleEffects.cpp +++ b/samplecode/SampleEffects.cpp @@ -19,10 +19,11 @@ static void test_edgeclipper() { SkPoint pts[] = { - { -8.38822452e+21f, -7.69721471e+19f }, - { 1.57645875e+23f, 1.44634003e+21f }, - { 1.61519691e+23f, 1.48208059e+21f }, - { 3.13963584e+23f, 2.88057438e+21f } + { SkFloatToScalar(-8.38822452e+21f), + SkFloatToScalar(-7.69721471e+19f) }, + { SkFloatToScalar(1.57645875e+23f), SkFloatToScalar(1.44634003e+21f) }, + { SkFloatToScalar(1.61519691e+23f), SkFloatToScalar(1.48208059e+21f) }, + { SkFloatToScalar(3.13963584e+23f), SkFloatToScalar(2.88057438e+21f) } }; SkRect clip = { 0, 0, 300, 200 }; -- cgit v1.2.3