WIP: render screen-sharing frames

This commit is contained in:
Antonio Scandurra
2022-09-13 14:10:13 +02:00
parent 645338cff8
commit d407f521db
8 changed files with 178 additions and 61 deletions
+1 -1
View File
@@ -822,7 +822,7 @@ impl Renderer {
{
MTLPixelFormat::BGRA8Unorm
} else {
panic!("unsupported pixel format")
MTLPixelFormat::R8Unorm
};
let texture = self