mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
Fix swapchain resize in the player
This commit is contained in:
1 parent
0fa52d3826
commit
eef4a75454
1 file changed
+1
@@ -144,6 +144,7 @@ fn main() {
|
||||
desc.height,
|
||||
));
|
||||
resize_desc = Some(desc);
|
||||
break;
|
||||
} else {
|
||||
gfx_select!(device => global.device_create_swap_chain(device, surface, &desc)).unwrap();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user