diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-03-18 20:28:21 +0000 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-03-19 07:59:39 -0500 |
commit | 8510d91ebad522685bc1a29e7bbc1f5050af0d2c (patch) | |
tree | 109d7e9ba8ae0b817af3eada29c26994088761d5 /ui | |
parent | 277ba8a6d717abb2f36896cd9877a68d2cf03d77 (diff) | |
download | hqemu-8510d91ebad522685bc1a29e7bbc1f5050af0d2c.zip hqemu-8510d91ebad522685bc1a29e7bbc1f5050af0d2c.tar.gz |
ui/cocoa.m: Fix compile failures introduced by recent console changes
Fix various compilation failures introduced by the recent console
changes.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1363638501-29603-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/cocoa.m | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -403,6 +403,9 @@ QemuCocoaView *cocoaView; { COCOA_DEBUG("QemuCocoaView: switchSurface\n"); + int w = surface_width(surface); + int h = surface_height(surface); + // update screenBuffer if (dataProviderRef) CGDataProviderRelease(dataProviderRef); @@ -1014,9 +1017,9 @@ static void cocoa_cleanup(void) static const DisplayChangeListenerOps dcl_ops = { .dpy_name = "cocoa", - .dpy_gfx_update = cocoa_update; - .dpy_gfx_switch = cocoa_switch; - .dpy_refresh = cocoa_refresh; + .dpy_gfx_update = cocoa_update, + .dpy_gfx_switch = cocoa_switch, + .dpy_refresh = cocoa_refresh, }; void cocoa_display_init(DisplayState *ds, int full_screen) |