diff options
Diffstat (limited to 'Runtime/FileSystem/ImageJobs.cpp')
-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); |