egl/wayland: fix formatting and add trailing comma

Commit 659bace01a ("egl: add a few trailing commas") added a few
trailing commas to the last item in a struct to avoid that commit
e85983d772 ("egl: re-format using clang-format") moves the closing
brace into the previous line.

The wl_callback_listener was missing the comma and the brace was moved
to the previous line, which makes it harder to read the code.

Add the comma and fix the formatting.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26902>
This commit is contained in:
Michael Tretter 2024-01-05 12:41:34 +01:00 committed by Marge Bot
parent 08b6f786ac
commit d9fd4d7c0d

View file

@ -1375,7 +1375,8 @@ wayland_throttle_callback(void *data, struct wl_callback *callback,
}
static const struct wl_callback_listener throttle_listener = {
.done = wayland_throttle_callback};
.done = wayland_throttle_callback,
};
static EGLBoolean
get_fourcc(struct dri2_egl_display *dri2_dpy, __DRIimage *image, int *fourcc)