Explorar o código

Restore webgl2

David Catuhe %!s(int64=6) %!d(string=hai) anos
pai
achega
9009c186b9
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/Engines/engine.ts

+ 0 - 1
src/Engines/engine.ts

@@ -1091,7 +1091,6 @@ export class Engine {
             }
 
             // GL
-            options.disableWebGL2Support = true;
             if (!options.disableWebGL2Support) {
                 try {
                     this._gl = <any>(canvas.getContext("webgl2", options) || canvas.getContext("experimental-webgl2", options));