mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-23 07:14:01 +00:00
16 lines
431 B
HTML
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> |