mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Fix debugger capture
This commit is contained in:
parent
1be2ce6190
commit
19e57d3b44
@ -118,13 +118,13 @@ fn main() {
|
||||
log::info!("Executing actions");
|
||||
#[cfg(not(feature = "winit"))]
|
||||
{
|
||||
unsafe { global.device_start_graphics_debugger_capture(device) };
|
||||
unsafe { device.start_graphics_debugger_capture() };
|
||||
|
||||
while let Some(action) = actions.pop() {
|
||||
player.process(&device, &queue, action, &dir);
|
||||
}
|
||||
|
||||
unsafe { global.device_stop_graphics_debugger_capture(device) };
|
||||
unsafe { device.stop_graphics_debugger_capture() };
|
||||
device.poll(wgt::PollType::wait_indefinitely()).unwrap();
|
||||
}
|
||||
#[cfg(feature = "winit")]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user