mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00

Get rid of the glutin dependency in the GL renderer -- the caller is now responsible for swapping buffers.
14 lines
374 B
HTML
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>
|