diff options
author | chai <chaifix@163.com> | 2021-10-30 22:59:42 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-30 22:59:42 +0800 |
commit | 26f05c6e3dcac9995345fb5a2b031be7e3ea79e9 (patch) | |
tree | fc32c3e9d235817df0be331a6100b7f8263facab /Runtime/FileSystem | |
parent | c3e259f4d29e9bdcb73617ad8e4d71f117b4d289 (diff) |
*TextGenerator
Diffstat (limited to 'Runtime/FileSystem')
-rw-r--r-- | Runtime/FileSystem/ImageJobs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |