commit | 550d66bcb1b0da15711b92adc783c1450e4ffaaf | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <ppaalanen@gmail.com> | Wed Feb 13 16:17:12 2013 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Feb 14 12:28:42 2013 -0500 |
tree | 36d2c755708fea3f6cec04a690aaf94a2af37c0e | |
parent | 33a68eaaf49ab1baffe652dffdd36bcf3bcb775d [diff] |
window: destroy the 2nd shm buffer, if both released Handle the case when we the compositor somehow migrates from requiring double buffering into working on single buffering, so we release the extra shm buffer. Currently, I do not think this can happen in practice, but in the future it may happen with sub-surfaces. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>