From 26f05c6e3dcac9995345fb5a2b031be7e3ea79e9 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 30 Oct 2021 22:59:42 +0800 Subject: *TextGenerator --- Runtime/FileSystem/ImageJobs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Runtime/FileSystem/ImageJobs.cpp') diff --git a/Runtime/FileSystem/ImageJobs.cpp b/Runtime/FileSystem/ImageJobs.cpp index 84e4ff3..1d836d2 100644 --- a/Runtime/FileSystem/ImageJobs.cpp +++ b/Runtime/FileSystem/ImageJobs.cpp @@ -41,8 +41,8 @@ void ReadImageFileJob::Dispacth(void* param) bridge.pixels = NULL; imgData->width = bridge.width; imgData->height = bridge.height; - imgData->format = ImageData::EPixelFormat::RGB; - imgData->type = ImageData::EPixelElementType::UNSIGNED_BYTE; + imgData->format = EPixelFormat::PixelFormat_RGB; + imgData->type = EPixelElementType::PixelType_UNSIGNED_BYTE; callback.PushRef(state); imgData->PushUserdata(state); -- cgit v1.1-26-g67d0