Various fixes

This commit is contained in:
Ilya Laktyushin
2023-07-05 17:26:20 +02:00
parent a480df3ed6
commit 6301b2ba64
5 changed files with 15 additions and 11 deletions

View File

@@ -253,7 +253,7 @@ final class VideoInputPass: DefaultRenderPass {
func textureDimensionsForRotation(width: Int, height: Int, rotation: TextureRotation) -> (width: Int, height: Int) {
switch rotation {
case .rotate90Degrees, .rotate270Degrees:
case .rotate90Degrees, .rotate270Degrees, .rotate90DegreesMirrored:
return (height, width)
default:
return (width, height)