summaryrefslogtreecommitdiffstats
path: root/libs/hwui/LayerRenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/LayerRenderer.h')
-rw-r--r--libs/hwui/LayerRenderer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/LayerRenderer.h b/libs/hwui/LayerRenderer.h
index 40e461a..e79e7b8 100644
--- a/libs/hwui/LayerRenderer.h
+++ b/libs/hwui/LayerRenderer.h
@@ -47,7 +47,7 @@ public:
ANDROID_API LayerRenderer(Layer* layer);
virtual ~LayerRenderer();
- virtual void setViewport(int width, int height);
+ virtual void onViewportInitialized(int width, int height) { /* do nothing */ }
virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque);
virtual status_t clear(float left, float top, float right, float bottom, bool opaque);
virtual void finish();