commit | ab1080c4d075b008cebdd9a2031ebbd51f9c2729 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Tue Jun 21 16:24:20 2016 -0700 |
committer | John Reck <jreck@google.com> | Tue Jun 21 16:24:20 2016 -0700 |
tree | 51f0a5866b266286a3ff28056891166917e5fcbe | |
parent | 6465299aec330df82206cec459c16080c25e2297 [diff] [blame] |
Delete unused args Bug: 21170575 Change-Id: Icc832f70f206342557f44667ad3498405d04db78
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index edf214b..2180976 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp
@@ -155,8 +155,7 @@ } } -// TODO: don't pass viewport size, it's automatic via EGL -void CanvasContext::setup(int width, int height, float lightRadius, +void CanvasContext::setup(float lightRadius, uint8_t ambientShadowAlpha, uint8_t spotShadowAlpha) { #if HWUI_NEW_OPS mLightGeometry.radius = lightRadius;