mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
console: zap ds arg from register_displaychangelistener
We don't have multiple DisplayStates any more, so passing it in as argument is not needed. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
cdd5b93757
commit
5209089fcd
9 changed files with 13 additions and 16 deletions
|
@ -1030,7 +1030,7 @@ void cocoa_display_init(DisplayState *ds, int full_screen)
|
|||
|
||||
// register vga output callbacks
|
||||
dcl->ops = &dcl_ops;
|
||||
register_displaychangelistener(ds, dcl);
|
||||
register_displaychangelistener(dcl);
|
||||
|
||||
// register cleanup function
|
||||
atexit(cocoa_cleanup);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue