mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
cocoa: use DisplayOptions
Switch cocoa ui to use qapi DisplayOptions for configuration. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20180202111022.19269-10-kraxel@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
14f130fad8
commit
767f9bf3b5
4 changed files with 10 additions and 7 deletions
|
@ -450,9 +450,9 @@ static inline void sdl_display_init(DisplayState *ds, DisplayOptions *opts)
|
|||
|
||||
/* cocoa.m */
|
||||
#ifdef CONFIG_COCOA
|
||||
void cocoa_display_init(DisplayState *ds, int full_screen);
|
||||
void cocoa_display_init(DisplayState *ds, DisplayOptions *opts);
|
||||
#else
|
||||
static inline void cocoa_display_init(DisplayState *ds, int full_screen)
|
||||
static inline void cocoa_display_init(DisplayState *ds, DisplayOptions *opts)
|
||||
{
|
||||
/* This must never be called if CONFIG_COCOA is disabled */
|
||||
error_report("Cocoa support is disabled");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue