From: Gerd Hoffmann <kraxel@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Andreas Färber" <andreas.faerber@web.de>,
"Anthony Liguori" <aliguori@us.ibm.com>,
qemu-devel@nongnu.org, patches@linaro.org
Subject: Re: [Qemu-devel] [PATCH] ui/cocoa.m: Fix compile failures introduced by recent console changes
Date: Tue, 19 Mar 2013 08:10:16 +0100 [thread overview]
Message-ID: <51480F58.2040602@redhat.com> (raw)
In-Reply-To: <1363638501-29603-1-git-send-email-peter.maydell@linaro.org>
On 03/18/13 21:28, Peter Maydell wrote:
> Fix various compilation failures introduced by the recent console
> changes.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> ui/cocoa.m | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/ui/cocoa.m b/ui/cocoa.m
> index 8e0eaa2..048cc97 100644
> --- a/ui/cocoa.m
> +++ b/ui/cocoa.m
> @@ -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)
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
[ I'll go pick it into the next console patch series, but wouldn't
mind if someone applies this directly to fix the macos build ].
cheers,
Gerd
next prev parent reply other threads:[~2013-03-19 7:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-18 20:28 [Qemu-devel] [PATCH] ui/cocoa.m: Fix compile failures introduced by recent console changes Peter Maydell
2013-03-19 7:10 ` Gerd Hoffmann [this message]
2013-03-19 18:58 ` Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51480F58.2040602@redhat.com \
--to=kraxel@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=andreas.faerber@web.de \
--cc=patches@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).