1 parent 17056fe commit bb95e0dCopy full SHA for bb95e0d
1 file changed
examples/wireframe.js
@@ -7,7 +7,7 @@ async function main() {
7
const adapter = await navigator.gpu?.requestAdapter({
8
featureLevel: 'compatibility',
9
});
10
- const { maxStorageBuffersInVertexStage } = adapter?.limits.maxStorageBuffersInVertexStage ?? {};
+ const { maxStorageBuffersInVertexStage } = adapter?.limits ?? {};
11
if (maxStorageBuffersInVertexStage < 2) {
12
fail('your device does not support support the needed functionality for this example');
13
return;
0 commit comments