From dc392d328e598db08528f8971974b5630d187dc0 Mon Sep 17 00:00:00 2001 From: acalcutt Date: Sat, 12 Aug 2023 11:05:24 -0400 Subject: [PATCH] remove unneeded note --- public/templates/viewer.tmpl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public/templates/viewer.tmpl b/public/templates/viewer.tmpl index 089c500..d9550e5 100644 --- a/public/templates/viewer.tmpl +++ b/public/templates/viewer.tmpl @@ -37,10 +37,6 @@ if (window.WebGLRenderingContext) { const canvas = document.createElement('canvas'); try { - // Note that { failIfMajorPerformanceCaveat: true } can be passed as a second argument - // to canvas.getContext(), causing the check to fail if hardware rendering is not available. See - // https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext - // for more details. const context = canvas.getContext('webgl2') || canvas.getContext('webgl'); if (context && typeof context.getParameter == 'function') { return true;