From 2190fd1880c9378acf32249830ade503cc1cd463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8A=89=E5=87=A1?= Date: Sat, 14 Jun 2025 10:47:36 +0000 Subject: [PATCH 1/2] update graphic/graphic_2d/native_effect/effect_types.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 劉凡 --- graphic/graphic_2d/native_effect/effect_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphic/graphic_2d/native_effect/effect_types.h b/graphic/graphic_2d/native_effect/effect_types.h index d84b05e13..04b05eb42 100644 --- a/graphic/graphic_2d/native_effect/effect_types.h +++ b/graphic/graphic_2d/native_effect/effect_types.h @@ -67,7 +67,7 @@ typedef struct OH_PixelmapNative OH_PixelmapNative; * @version 1.0 */ struct OH_Filter_ColorMatrix { - /** val mast be 5*4 */ + /** val must be 5*4 */ float val[20]; }; -- Gitee From 6e0cbac5ba3e07d9ea14e4ce7c604549a034deec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8A=89=E5=87=A1?= Date: Sat, 14 Jun 2025 11:07:17 +0000 Subject: [PATCH 2/2] update graphic/graphic_2d/native_effect/effect_types.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 劉凡 --- graphic/graphic_2d/native_effect/effect_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphic/graphic_2d/native_effect/effect_types.h b/graphic/graphic_2d/native_effect/effect_types.h index 04b05eb42..f4ee09644 100644 --- a/graphic/graphic_2d/native_effect/effect_types.h +++ b/graphic/graphic_2d/native_effect/effect_types.h @@ -66,10 +66,10 @@ typedef struct OH_PixelmapNative OH_PixelmapNative; * @since 12 * @version 1.0 */ -struct OH_Filter_ColorMatrix { +typedef struct OH_Filter_ColorMatrix { /** val must be 5*4 */ float val[20]; -}; +} OH_Filter_ColorMatrix; /** * @brief Defines a effect filter error code. -- Gitee