wayland: Restore accidentally removed line of code

This commit is contained in:
Frank Praznik 2024-01-08 18:00:28 -05:00
parent ccae9c1ef6
commit 3a219caf3d
1 changed files with 2 additions and 0 deletions

View File

@ -1444,6 +1444,8 @@ void Wayland_ShowWindow(SDL_VideoDevice *_this, SDL_Window *window)
WAYLAND_wl_display_roundtrip(c->display);
}
data->surface_status = WAYLAND_SURFACE_STATUS_WAITING_FOR_CONFIGURE;
/* Detach any previous buffers before resetting everything, otherwise when
* calling this a second time you'll get an annoying protocol error!
*