slint/examples/graphicstest/index.html
Simon Hausmann 12626472c4 Fix wasm build
Get rid of the glutin dependency in the GL renderer -- the caller is now responsible for swapping buffers.
2020-05-07 15:07:29 +02:00

14 lines
374 B
HTML

<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
</head>
<body>
<canvas id="canvas" width="640" height="480"></canvas>
<script src="./graphicstest.js"></script>
<script>
window.addEventListener("load", async () => {
await wasm_bindgen("./graphicstest_bg.wasm");
});
</script>
</body>
</html>