mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
21 lines
468 B
HTML
21 lines
468 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>
|