diff --git a/CHANGELOG.md b/CHANGELOG.md index b65b691d5..056643b5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,12 @@ Bottom level categories: ## Unreleased +### Changes + +#### General + +- Removed `MaintainBase` in favor of using `PollType`. By @waywardmonkeys in [#7508](https://github.com/gfx-rs/wgpu/pull/7508). + ## v25.0.0 (2025-04-10) ### Major Features diff --git a/tests/tests/wgpu-gpu/regression/issue_4024.rs b/tests/tests/wgpu-gpu/regression/issue_4024.rs index 40b17cb21..1541f0500 100644 --- a/tests/tests/wgpu-gpu/regression/issue_4024.rs +++ b/tests/tests/wgpu-gpu/regression/issue_4024.rs @@ -74,7 +74,7 @@ static QUEUE_SUBMITTED_CALLBACK_ORDERING: GpuTestConfiguration = GpuTestConfigur }); // No GPU work is happening at this point, but we want to process callbacks. - ctx.async_poll(MaintainBase::Poll).await.unwrap(); + ctx.async_poll(PollType::Poll).await.unwrap(); // Extract the ordering out of the arc. let ordering = Arc::into_inner(ordering).unwrap().into_inner(); diff --git a/wgpu/src/api/queue.rs b/wgpu/src/api/queue.rs index bf7ec4741..b1868738e 100644 --- a/wgpu/src/api/queue.rs +++ b/wgpu/src/api/queue.rs @@ -33,7 +33,6 @@ pub struct SubmissionIndex { #[cfg(send_sync)] static_assertions::assert_impl_all!(SubmissionIndex: Send, Sync); -pub use wgt::PollType as MaintainBase; /// Passed to [`Device::poll`] to control how and if it should block. pub type PollType = wgt::PollType; #[cfg(send_sync)]