summaryrefslogtreecommitdiff
path: root/ext/webgpu/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webgpu/error.rs')
-rw-r--r--ext/webgpu/error.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/webgpu/error.rs b/ext/webgpu/error.rs
index be8021f87..5d8abb4a3 100644
--- a/ext/webgpu/error.rs
+++ b/ext/webgpu/error.rs
@@ -23,7 +23,6 @@ use wgpu_core::device::DeviceError;
use wgpu_core::pipeline::CreateComputePipelineError;
use wgpu_core::pipeline::CreateRenderPipelineError;
use wgpu_core::pipeline::CreateShaderModuleError;
-#[cfg(feature = "surface")]
use wgpu_core::present::ConfigureSurfaceError;
use wgpu_core::resource::BufferAccessError;
use wgpu_core::resource::CreateBufferError;
@@ -282,7 +281,6 @@ impl From<ClearError> for WebGpuError {
}
}
-#[cfg(feature = "surface")]
impl From<ConfigureSurfaceError> for WebGpuError {
fn from(err: ConfigureSurfaceError) -> Self {
WebGpuError::Validation(fmt_err(&err))