blob: 965fb0d84258484fd03b4c4cc331e16e1de63c6d [file] [log] [blame]
const hasWebMetal = () => {
return 'WebMetalRenderingContext' in window;
};
const checkForWebMetal = () => {
if (hasWebMetal())
return true;
document.body.className = "error";
return false;
}