mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-22 15:49:30 -07:00
Removing document onload function from webgpu_main that I left in by mistake
This commit is contained in:
@@ -73,11 +73,3 @@ export default async (canvas, config) => {
|
|||||||
|
|
||||||
requestAnimationFrame(frame);
|
requestAnimationFrame(frame);
|
||||||
};
|
};
|
||||||
|
|
||||||
document.body.onload = () => {
|
|
||||||
if (navigator.gpu != null) {
|
|
||||||
initWebGPU();
|
|
||||||
} else {
|
|
||||||
// TODO: init regl
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|||||||
Reference in New Issue
Block a user