From eeabe17e7cb285b03ef62d7730607a2d7619700f Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 12 Jun 2019 16:25:07 +0300 Subject: [PATCH] pixel-formats: Fix doxygen warnings about missing format We already have documentation in header which conflicts with the one the source code. Remove it entirely as it confuses user as well. Signed-off-by: Marius Vlad --- libweston/pixel-formats.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libweston/pixel-formats.c b/libweston/pixel-formats.c index cade2422..b425930e 100644 --- a/libweston/pixel-formats.c +++ b/libweston/pixel-formats.c @@ -431,15 +431,6 @@ pixel_format_is_opaque(const struct pixel_format_info *info) return !info->opaque_substitute; } -/** Retrieve the opaque substitute for a pixel format - * - * If the given pixel format contains an alpha channel, look up an identical - * pixel format except where the alpha channel is ignored, if such format - * exists. Otherwise returns the passed in format as is. - * - * \param info a pixel_format_info already retrieved using pixel_format_get_info() - * - */ WL_EXPORT const struct pixel_format_info * pixel_format_get_opaque_substitute(const struct pixel_format_info *info) {