mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Implement adapter_is_surface_supported() for Web (#1767)
This commit is contained in:
@@ -955,6 +955,14 @@ impl crate::Context for Context {
|
||||
Sendable(context.into())
|
||||
}
|
||||
|
||||
fn adapter_is_surface_supported(
|
||||
&self,
|
||||
_adapter: &Self::AdapterId,
|
||||
_surface: &Self::SurfaceId,
|
||||
) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn instance_request_adapter(
|
||||
&self,
|
||||
options: &crate::RequestAdapterOptions<'_>,
|
||||
|
||||
Reference in New Issue
Block a user