diff --git a/graphic/graphic_2d/native_effect/effect_types.h b/graphic/graphic_2d/native_effect/effect_types.h index d84b05e134f1e9bc292defe4b0d6ddd80e0d4236..f4ee09644e9316f316c8a7b12963f9434a3b7443 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 { - /** val mast be 5*4 */ +typedef struct OH_Filter_ColorMatrix { + /** val must be 5*4 */ float val[20]; -}; +} OH_Filter_ColorMatrix; /** * @brief Defines a effect filter error code.