mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
console: zap displaystate from dcl callbacks
Now that nobody depends on DisplayState in DisplayChangeListener callbacks any more we can remove the parameter from all callbacks. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
5e00d3ac47
commit
bc2ed9704f
9 changed files with 23 additions and 56 deletions
|
@ -955,7 +955,6 @@ int main (int argc, const char * argv[]) {
|
|||
|
||||
#pragma mark qemu
|
||||
static void cocoa_update(DisplayChangeListener *dcl,
|
||||
DisplayState *dontuse,
|
||||
int x, int y, int w, int h)
|
||||
{
|
||||
COCOA_DEBUG("qemu_cocoa: cocoa_update\n");
|
||||
|
@ -974,7 +973,6 @@ static void cocoa_update(DisplayChangeListener *dcl,
|
|||
}
|
||||
|
||||
static void cocoa_switch(DisplayChangeListener *dcl,
|
||||
DisplayState *dontuse,
|
||||
DisplaySurface *surface)
|
||||
{
|
||||
COCOA_DEBUG("qemu_cocoa: cocoa_resize\n");
|
||||
|
@ -982,8 +980,7 @@ static void cocoa_switch(DisplayChangeListener *dcl,
|
|||
[cocoaView switchSurface:surface];
|
||||
}
|
||||
|
||||
static void cocoa_refresh(DisplayChangeListener *dcl,
|
||||
DisplayState *dontuse)
|
||||
static void cocoa_refresh(DisplayChangeListener *dcl)
|
||||
{
|
||||
COCOA_DEBUG("qemu_cocoa: cocoa_refresh\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue