summary refs log tree commit diff stats
path: root/hw/timer/omap_gptimer.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-23 10:35:22 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-06-29 22:00:33 +0100
commit381600dad956ba246f8cb9806e70423f4121bae3 (patch)
tree1b823d5958c60239c5ac190117bd7d2a22feb625 /hw/timer/omap_gptimer.c
parent9328cfd2fe4a7ff86a41b2c26ea33974241d7d4e (diff)
downloadfocaccia-qemu-381600dad956ba246f8cb9806e70423f4121bae3.tar.gz
focaccia-qemu-381600dad956ba246f8cb9806e70423f4121bae3.zip
ui/cocoa: Cope with first surface being same as initial window size
Do the recalculation of the content dimensions in switchSurface if the
current cdx is zero as well as if the new surface is a different size to
the current window. This catches the case where the first surface registered
happens to be 640x480 (our current window size), and fixes a bug where we
would always display a black screen until the first surface of a different
size was registered.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1403516125-14568-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/timer/omap_gptimer.c')
0 files changed, 0 insertions, 0 deletions