commit | 924197513aa2df4c1fb2977c1727f5d2c21f2689 | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Thu May 15 13:21:28 2014 -0700 |
committer | Chris Craik <ccraik@google.com> | Thu May 15 13:21:28 2014 -0700 |
tree | 402ec417e1b44e3f2b2c0ce6ef1efcd6d5a0f576 | |
parent | fe4c1e225d147fe9cb5d7c121b7d6d11a312844e [diff] [blame] |
Correct viewport initialization, bounds comparison Change-Id: Ibd751856e3712991e149800ed179464397dad7c3
diff --git a/libs/hwui/Snapshot.h b/libs/hwui/Snapshot.h index e9ab1ff..1a517fc 100644 --- a/libs/hwui/Snapshot.h +++ b/libs/hwui/Snapshot.h
@@ -229,7 +229,7 @@ private: struct ViewportData { - ViewportData() : mWidth(0), mHeight() {} + ViewportData() : mWidth(0), mHeight(0) {} void initialize(int width, int height) { mWidth = width; mHeight = height;