Details
-
Bug
-
Resolution: Fixed
-
P5: Not important
-
None
-
6.7.0 Beta1
-
None
-
-
It is a Chrome issue
Description
Hello,
I wrote a simple example that draws a quad with a texture. I attached the example. When I run this example as WebAssembly: https://profound-sunflower-a5633b.netlify.app/ I see this message in the browser console:
WebGL: this extension has very low support on mobile devices; do not rely on it for rendering effects: WEBGL_polygon_mode
It happens in the JS file on the GLctx.getExtension(ext); line:
// .getSupportedExtensions() can return null if context is lost, so coerce to empty array. var exts = GLctx.getSupportedExtensions() || []; exts.forEach(function(ext) { // WEBGL_lose_context, WEBGL_debug_renderer_info and WEBGL_debug_shaders are not enabled by default. if (!ext.includes('lose_context') && !ext.includes('debug')) { // Call .getExtension() to enable that extension permanently. GLctx.getExtension(ext); } });
Please, add the ability to hide this message and print a name of the extension that "has very low support on mobile devices"
Topics: