rt(mtl): fix test

This commit is contained in:
chyyran 2024-10-01 23:08:58 -04:00 committed by Ronny Chan
parent 32c99d9f4a
commit 4ba6effc2f

View file

@ -397,12 +397,7 @@ declare_class!(
// blit.endEncoding();
filter_chain.frame(&texture,
&Viewport {
x: 0.0,
y: 0.0,
mvp: None,
output: &backbuffer
}, &command_buffer, 1, None)
&Viewport::new_render_target_sized_origin(backbuffer.as_ref(), None).expect("viewport"), &command_buffer, 1, None)
.expect("frame");
let blit = command_buffer