Fix missing wl_display_get_error in the Wayland dynamic loader
Some of the previous commits in Wayland related code added use of this function, but did not update the dynamic loader. This broke compilation of configurations which use dynamic loader for Wayland (which is the official way oh how Blender is built).
This commit is contained in:
parent
e4f484330a
commit
6e2437d82b
|
@ -16,6 +16,7 @@ WAYLAND_DYNLOAD_FN(wl_display_disconnect)
|
|||
WAYLAND_DYNLOAD_FN(wl_display_dispatch)
|
||||
WAYLAND_DYNLOAD_FN(wl_display_roundtrip)
|
||||
WAYLAND_DYNLOAD_FN(wl_display_flush)
|
||||
WAYLAND_DYNLOAD_FN(wl_display_get_error)
|
||||
WAYLAND_DYNLOAD_FN(wl_log_set_handler_client)
|
||||
WAYLAND_DYNLOAD_FN(wl_proxy_add_listener)
|
||||
WAYLAND_DYNLOAD_FN(wl_proxy_destroy)
|
||||
|
@ -68,6 +69,7 @@ struct WaylandDynload_Client {
|
|||
int WL_DYN_FN(wl_display_dispatch)(struct wl_display *display);
|
||||
int WL_DYN_FN(wl_display_roundtrip)(struct wl_display *display);
|
||||
int WL_DYN_FN(wl_display_flush)(struct wl_display *display);
|
||||
int WL_DYN_FN(wl_display_get_error)(struct wl_display *display);
|
||||
void WL_DYN_FN(wl_log_set_handler_client)(wl_log_func_t);
|
||||
int WL_DYN_FN(wl_proxy_add_listener)(struct wl_proxy *proxy,
|
||||
void (**implementation)(void),
|
||||
|
@ -103,6 +105,7 @@ struct WaylandDynload_Client {
|
|||
# define wl_display_dispatch(...) (*wayland_dynload_client.wl_display_dispatch)(__VA_ARGS__)
|
||||
# define wl_display_roundtrip(...) (*wayland_dynload_client.wl_display_roundtrip)(__VA_ARGS__)
|
||||
# define wl_display_flush(...) (*wayland_dynload_client.wl_display_flush)(__VA_ARGS__)
|
||||
# define wl_display_get_error(...) (*wayland_dynload_client.wl_display_get_error)(__VA_ARGS__)
|
||||
# define wl_log_set_handler_client(...) \
|
||||
(*wayland_dynload_client.wl_log_set_handler_client)(__VA_ARGS__)
|
||||
# define wl_proxy_add_listener(...) \
|
||||
|
|
Loading…
Reference in New Issue