Clear background

This commit is contained in:
2026-03-14 21:10:01 -03:00
parent 7e90f2ea57
commit 1de6fe5fd1
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ export function init_window(canvas_element: HTMLCanvasElement) {
canvas.width = 1800;
canvas.height = 900;
const ctx = canvas.getContext("webgl2");
const ctx = canvas.getContext("webgl2", { antialias: true, alpha: false });
if (!ctx) {
throw new Error("WebGL2 not supported");
}