wgpu/wgpu-hal/examples/raw-gles.em.html
2022-01-27 14:14:29 -05:00

16 lines
431 B
HTML

<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>