Skip to content

Commit bb95e0d

Browse files
committed
Fix wireframe example.
Now that compat shipped, a bug was revealed.
1 parent 17056fe commit bb95e0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/wireframe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ async function main() {
77
const adapter = await navigator.gpu?.requestAdapter({
88
featureLevel: 'compatibility',
99
});
10-
const { maxStorageBuffersInVertexStage } = adapter?.limits.maxStorageBuffersInVertexStage ?? {};
10+
const { maxStorageBuffersInVertexStage } = adapter?.limits ?? {};
1111
if (maxStorageBuffersInVertexStage < 2) {
1212
fail('your device does not support support the needed functionality for this example');
1313
return;

0 commit comments

Comments
 (0)