mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
egl/wayland: fix formatting and add trailing comma
Commit659bace01a("egl: add a few trailing commas") added a few trailing commas to the last item in a struct to avoid that commite85983d772("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:
parent
08b6f786ac
commit
d9fd4d7c0d
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue