hwc: fix set() with zero layers
authorGreg Hackmann <ghackmann@google.com>
Wed, 22 Aug 2012 18:27:38 +0000 (11:27 -0700)
committerGreg Hackmann <ghackmann@google.com>
Wed, 22 Aug 2012 18:35:13 +0000 (11:35 -0700)
commit0fbe1706499c5d1c48b3c97669be79c5e6213cef
tree5e68cfb758777b978d11532edcc7255f74d85ca7
parent4ed2f10326c52005dffdbfdc890f9c31f5a06dc7
hwc: fix set() with zero layers

Initialization for the post callback should not be skipped, since set()
requires eglSwapBuffers() to be called even when there are zero layers

Change-Id: I624ef55e73b389aadf3516a6d2c541d67d398333
Signed-off-by: Greg Hackmann <ghackmann@google.com>
libhwc/hwc.cpp