mirror of
https://github.com/PavelDoGreat/WebGL-Fluid-Simulation.git
synced 2025-10-04 18:01:40 +02:00
tweak analytics
This commit is contained in:
@@ -60,9 +60,8 @@ function getWebGLContext (canvas) {
|
|||||||
|
|
||||||
if (formatRGBA == null)
|
if (formatRGBA == null)
|
||||||
ga('send', 'event', isWebGL2 ? 'webgl2' : 'webgl', 'not supported');
|
ga('send', 'event', isWebGL2 ? 'webgl2' : 'webgl', 'not supported');
|
||||||
|
else
|
||||||
if (halfFloat == null)
|
ga('send', 'event', isWebGL2 ? 'webgl2' : 'webgl', 'supported');
|
||||||
ga('send', 'event', isWebGL2 ? 'webgl2' : 'webgl', 'halfTexture not supported');
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
gl,
|
gl,
|
||||||
|
Reference in New Issue
Block a user