Skip to content

Commit

Permalink
chore: cleanup demo
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Nov 21, 2023
1 parent 54fcb1e commit 9eabd1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import 'shaderkit'
</script>
<script type="module">
if (false) {
{
const canvas = document.body.appendChild(document.createElement('canvas'))
const gl = canvas.getContext('webgl2')
const vertex = gl.createShader(gl.VERTEX_SHADER)
Expand Down Expand Up @@ -52,7 +52,7 @@
}
</script>
<script type="module">
if (false) {
{
const canvas = document.body.appendChild(document.createElement('canvas'))
const context = canvas.getContext('webgpu')
const format = navigator.gpu.getPreferredCanvasFormat()
Expand Down

0 comments on commit 9eabd1e

Please sign in to comment.