mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 07:21:04 +01:00
Enable the non-fill polygon mode feature if requested (#1016)
* Enable the non-fill polygon mode feature if requested * Update wgpu-core/src/instance.rs Co-authored-by: monocodus[bot] <49363530+monocodus[bot]@users.noreply.github.com> Co-authored-by: monocodus[bot] <49363530+monocodus[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
6714c4fe7e
commit
73d3f71caa
1 file changed
+4
@@ -716,6 +716,10 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
|
||||
desc.features
|
||||
.contains(wgt::Features::MULTI_DRAW_INDIRECT_COUNT),
|
||||
);
|
||||
enabled_features.set(
|
||||
hal::Features::NON_FILL_POLYGON_MODE,
|
||||
desc.features.contains(wgt::Features::NON_FILL_POLYGON_MODE),
|
||||
);
|
||||
|
||||
let family = adapter
|
||||
.raw
|
||||
|
||||
Reference in new issue
Block a user