diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-17 19:50:57 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-17 19:50:57 +0000 |
commit | 26deb23e150ef0055b52da9924b9c5ac0722b940 (patch) | |
tree | 44887b2b9a186498d0d199948e270b88d84161ae | |
parent | e1ca705cac4b946993f6cbf798e2a0ba27e739f3 (diff) |
change SkScalarRound to SkScalarRoundToInt
BUG=
Review URL: https://codereview.chromium.org/105073006
git-svn-id: http://skia.googlecode.com/svn/trunk@12720 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | experimental/iOSSampleApp/SkSampleUIView.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/iOSSampleApp/SkSampleUIView.mm b/experimental/iOSSampleApp/SkSampleUIView.mm index 421dfcf275..a6d00f7b0e 100644 --- a/experimental/iOSSampleApp/SkSampleUIView.mm +++ b/experimental/iOSSampleApp/SkSampleUIView.mm @@ -171,8 +171,8 @@ public: glBindFramebuffer(GL_FRAMEBUFFER, fLayerFBO); GrBackendRenderTargetDesc desc; - desc.fWidth = SkScalarRound(win->width()); - desc.fHeight = SkScalarRound(win->height()); + desc.fWidth = SkScalarRoundToInt(win->width()); + desc.fHeight = SkScalarRoundToInt(win->height()); desc.fConfig = kSkia8888_GrPixelConfig; desc.fRenderTargetHandle = fLayerFBO; desc.fSampleCnt = info.fSampleCount; |