Skip to content

Commit

Permalink
tweak analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelDoGreat committed Jan 27, 2018
1 parent 42433d7 commit a9d20ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a9d20ca

Please sign in to comment.