diff --git a/filament/src/Engine.cpp b/filament/src/Engine.cpp index 5f79257566..db0a5caf4f 100644 --- a/filament/src/Engine.cpp +++ b/filament/src/Engine.cpp @@ -202,8 +202,8 @@ void FEngine::init() { .build(*this)); static uint32_t pixel = 0; Texture::PixelBufferDescriptor buffer( - &pixel, 4, // 4 bytes in 1 RGB pixel - Texture::Format::RGB, Texture::Type::UBYTE); + &pixel, 4, // 4 bytes in 1 RGBA pixel + Texture::Format::RGBA, Texture::Type::UBYTE); Texture::FaceOffsets offsets = {}; mDefaultIblTexture->setImage(*this, 0, std::move(buffer), offsets);