From a9d20ca8c27c45b5d57c0c682d01f4b85258784a Mon Sep 17 00:00:00 2001 From: Pavel Dobryakov Date: Sat, 27 Jan 2018 13:05:20 +0300 Subject: [PATCH] tweak analytics --- script.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/script.js b/script.js index ae25b91..e210254 100644 --- a/script.js +++ b/script.js @@ -60,9 +60,8 @@ function getWebGLContext (canvas) { if (formatRGBA == null) ga('send', 'event', isWebGL2 ? 'webgl2' : 'webgl', 'not supported'); - - if (halfFloat == null) - ga('send', 'event', isWebGL2 ? 'webgl2' : 'webgl', 'halfTexture not supported'); + else + ga('send', 'event', isWebGL2 ? 'webgl2' : 'webgl', 'supported'); return { gl,