Skip to content

Commit

Permalink
change based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck committed Nov 22, 2023
1 parent 63f2591 commit 0ef940f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ const main = () => {

// create the graphics device
createGraphicsDevice(canvas, {
deviceTypes: (url.searchParams.has('webgpu') || observer.get('enableWebGPU') ? ['webgpu'] : []).concat(['webgl2', 'webgl1']),
deviceTypes: url.searchParams.has('webgpu') || observer.get('enableWebGPU') ? ['webgpu'] : [],
glslangUrl: getAssetPath('lib/glslang/glslang.js'),
twgslUrl: getAssetPath('lib/twgsl/twgsl.js'),
antialias: false,
Expand Down

0 comments on commit 0ef940f

Please sign in to comment.