Delete unused clip parameter in drawWithOpenGL
Change-Id: Ia4662ccf9b5544c1a8c5252b4c8485fddd09e713
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index 3b88a6e..349325b 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -972,7 +972,7 @@
} else {
engine.setupLayerBlackedOut();
}
- drawWithOpenGL(hw, clip, useIdentityTransform);
+ drawWithOpenGL(hw, useIdentityTransform);
engine.disableTexturing();
}
@@ -993,7 +993,7 @@
}
void Layer::drawWithOpenGL(const sp<const DisplayDevice>& hw,
- const Region& /* clip */, bool useIdentityTransform) const {
+ bool useIdentityTransform) const {
const State& s(getDrawingState());
computeGeometry(hw, mMesh, useIdentityTransform);