Explorar o código

Revert back change to _viewportCached

Popov72 %!s(int64=4) %!d(string=hai) anos
pai
achega
f2ff7027dd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Engines/thinEngine.ts

+ 1 - 1
src/Engines/thinEngine.ts

@@ -1297,7 +1297,7 @@ export class ThinEngine {
         this._gl.clear(mode);
     }
 
-    protected _viewportCached = { x: 0, y: 0, z: 0, w: 0 };
+    private _viewportCached = { x: 0, y: 0, z: 0, w: 0 };
 
     /** @hidden */
     public _viewport(x: number, y: number, width: number, height: number): void {