summaryrefslogtreecommitdiff
path: root/libs/hwui/CanvasState.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/CanvasState.h')
-rw-r--r--libs/hwui/CanvasState.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/CanvasState.h b/libs/hwui/CanvasState.h
index be57f44210ef..4709ef41915f 100644
--- a/libs/hwui/CanvasState.h
+++ b/libs/hwui/CanvasState.h
@@ -147,7 +147,7 @@ public:
void setInvisible(bool value) { mSnapshot->invisible = value; }
inline const mat4* currentTransform() const { return currentSnapshot()->transform; }
- inline const Rect& currentClipRect() const { return currentSnapshot()->getClipRect(); }
+ inline const Rect& currentRenderTargetClip() const { return currentSnapshot()->getRenderTargetClip(); }
inline Region* currentRegion() const { return currentSnapshot()->region; }
inline int currentFlags() const { return currentSnapshot()->flags; }
const Vector3& currentLightCenter() const { return currentSnapshot()->getRelativeLightCenter(); }