summaryrefslogtreecommitdiffstats
path: root/third_party/rust/wgpu-hal/examples/raw-gles.em.html
blob: f3587e85751e197aff403d859e586a413fa1911f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  </head>
  <body>
    <canvas id="canvas" width="640" height="400"></canvas>
    <script>
        var Module = {
            canvas: document.getElementById("canvas"),
            preRun: [function() {ENV.RUST_LOG = "debug"}]
        };
    </script>
    <script src="raw-gles.js"></script>
  </body>
</html>