Removing document onload function from webgpu_main that I left in by mistake

This commit is contained in:
Rezmason
2021-10-24 11:17:33 -07:00
parent 3cb20139c4
commit 1827fd94a6

View File

@@ -73,11 +73,3 @@ export default async (canvas, config) => {
requestAnimationFrame(frame);
};
document.body.onload = () => {
if (navigator.gpu != null) {
initWebGPU();
} else {
// TODO: init regl
}
};