Fixing a Firefox Nightly issue in the rain pass.

This commit is contained in:
Rezmason
2021-12-05 22:58:32 -08:00
parent e27c1820cb
commit 9896e2da84
3 changed files with 8 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ document.addEventListener("touchmove", (e) => e.preventDefault(), {
});
const supportsWebGPU = async () => {
return window?.GPUQueue?.prototype?.copyExternalImageToTexture != null;
return window.GPUQueue != null;
};
document.body.onload = async () => {