amber icon indicating copy to clipboard operation
amber copied to clipboard

Incorrect component format check

Open asuonpaa opened this issue 6 years ago • 0 comments

If I create a buffer with BUFFER framebuffer FORMAT B8G8R8A8_UNORM and then inside buffer.cc call format_->IsUint8() it returns false because of type_->IsNumber() check. type::Type::IsUint8(segment.GetFormatMode(), segment.GetNumBits()) works as expected.

asuonpaa avatar Oct 15 '19 05:10 asuonpaa