From 8bf85ca540ad17b33c5a55635746174d2131f3de Mon Sep 17 00:00:00 2001 From: lihui Date: Thu, 19 Dec 2024 17:18:49 +0800 Subject: [PATCH] fix native buffer format Signed-off-by: lihui --- graphic/graphic_2d/native_buffer/native_buffer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/graphic/graphic_2d/native_buffer/native_buffer.h b/graphic/graphic_2d/native_buffer/native_buffer.h index e42de9a32..c7cab38f9 100644 --- a/graphic/graphic_2d/native_buffer/native_buffer.h +++ b/graphic/graphic_2d/native_buffer/native_buffer.h @@ -194,15 +194,15 @@ typedef enum OH_NativeBuffer_Format { */ NATIVEBUFFER_PIXEL_FMT_RAW10, /** - * RGBA16 float format + * BLOB format * @since 16 */ - NATIVEBUFFER_PIXEL_FMT_RGBA16_FLOAT, + NATIVEBUFFER_PIXEL_FMT_BLOB, /** - * BLOB format + * RGBA16 float format * @since 16 */ - NATIVEBUFFER_PIXEL_FMT_BLOB, + NATIVEBUFFER_PIXEL_FMT_RGBA16_FLOAT, /** * vender mask format * @since 12 -- Gitee