aboutsummaryrefslogtreecommitdiff
path: root/hw/display/jazz_led.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-08-10 15:28:56 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-08-30 13:24:13 +0200
commit91155f8bf723434cd22c46b12a040ebe90b0d651 (patch)
tree7fc2f94dbd49985cc48aea20068df2ad2838cc09 /hw/display/jazz_led.c
parent161f4c471732d8af9fd43f5818ee41fe1ba5be6e (diff)
use dpy_gfx_update_full
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180810132856.22833-1-kraxel@redhat.com
Diffstat (limited to 'hw/display/jazz_led.c')
-rw-r--r--hw/display/jazz_led.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/display/jazz_led.c b/hw/display/jazz_led.c
index 3c97d56434..eb7933d2a3 100644
--- a/hw/display/jazz_led.c
+++ b/hw/display/jazz_led.c
@@ -214,8 +214,7 @@ static void jazz_led_update_display(void *opaque)
}
s->state = REDRAW_NONE;
- dpy_gfx_update(s->con, 0, 0,
- surface_width(surface), surface_height(surface));
+ dpy_gfx_update_full(s->con);
}
static void jazz_led_invalidate_display(void *opaque)