From ea8373f4cb5209b65a74f748c71a3ee437e757f0 Mon Sep 17 00:00:00 2001 From: Xiaowei Guan Date: Wed, 19 Jun 2024 16:05:03 +0800 Subject: [PATCH] Fix spelling errors --- shell/platform/embedder/embedder.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/platform/embedder/embedder.h b/shell/platform/embedder/embedder.h index 72d07b8571578..117aa714c6f82 100644 --- a/shell/platform/embedder/embedder.h +++ b/shell/platform/embedder/embedder.h @@ -364,7 +364,7 @@ typedef enum { typedef enum { kFlutterGLImpellerTexturePixelBuffer, - kFlutterGLImpellerTextureGpuSuface, + kFlutterGLImpellerTextureGpuSurface, } FlutterGLImpellerTextureType; typedef struct { @@ -377,11 +377,11 @@ typedef struct { uint32_t format; /// The pixel data buffer. const uint8_t* buffer; - /// The size of buffer. + /// The size of pixel buffer. size_t buffer_size; - /// Callback invoked that texture start binding. + /// Callback invoked that the gpu surface texture start binding. BoolCallback bind_callback; - /// the type of the texture. + /// The type of the texture. FlutterGLImpellerTextureType impeller_texture_type; /// User data to be returned on the invocation of the destruction callback. void* user_data;