Implement adapter_is_surface_supported() for Web (#1767)

This commit is contained in:
Zicklag authored and GitHub committed 2021-08-05 10:01:43 -04:00
1 parent 64ffdd52ad
commit 553fc52f67
1 file changed
+8
+8
View File
@@ -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<'_>,