wayland_common: suppress unused function warning on older protocols
This commit is contained in:
1 parent
4b6ebd79c8
commit
f011d73d5f
1 file changed
+1
-1
@@ -1985,6 +1985,7 @@ static const struct wp_fractional_scale_v1_listener fractional_scale_listener =
|
||||
preferred_scale,
|
||||
};
|
||||
|
||||
#if HAVE_WAYLAND_PROTOCOLS_1_41
|
||||
static void log_color_space(struct mp_log *log, struct vo_wayland_preferred_description_info *wd)
|
||||
{
|
||||
const struct pl_color_space *csp = &wd->csp;
|
||||
@@ -2007,7 +2008,6 @@ static void log_color_space(struct mp_log *log, struct vo_wayland_preferred_desc
|
||||
csp->hdr.prim.white.x, csp->hdr.prim.white.y);
|
||||
}
|
||||
|
||||
#if HAVE_WAYLAND_PROTOCOLS_1_41
|
||||
static void supported_intent(void *data, struct wp_color_manager_v1 *color_manager,
|
||||
uint32_t render_intent)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user