WIP: render screen-sharing frames

This commit is contained in:
Antonio Scandurra 2022-09-08 12:23:36 +02:00
parent 645338cff8
commit d407f521db
8 changed files with 178 additions and 61 deletions

View file

@ -822,7 +822,7 @@ impl Renderer {
{
MTLPixelFormat::BGRA8Unorm
} else {
panic!("unsupported pixel format")
MTLPixelFormat::R8Unorm
};
let texture = self