diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-02-14 19:15:09 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-03-13 22:57:39 +0400 |
commit | 8bb6af6792f50a43807b152e1221e2ac9177f6c4 (patch) | |
tree | 7f959f56c4daf7ee1737917a1f7577541ea8822c /ui | |
parent | 284c52eec2d0a1b9c47f06c3eee46762c5fc0915 (diff) |
ui/dbus: initialize cursor_fb
Or else, we may randomly destroy some textures..
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/dbus-listener.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/dbus-listener.c b/ui/dbus-listener.c index 57d4e401db..2dafd6569c 100644 --- a/ui/dbus-listener.c +++ b/ui/dbus-listener.c @@ -149,7 +149,7 @@ static void dbus_cursor_dmabuf(DisplayChangeListener *dcl, DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); DisplaySurface *ds; GVariant *v_data = NULL; - egl_fb cursor_fb; + egl_fb cursor_fb = EGL_FB_INIT; if (!dmabuf) { qemu_dbus_display1_listener_call_mouse_set( |