Explorar o código

any -> number

Benjamin Guignabert %!s(int64=5) %!d(string=hai) anos
pai
achega
c8eff4162d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/Engines/Extensions/engine.multiRender.ts

+ 2 - 2
src/Engines/Extensions/engine.multiRender.ts

@@ -38,11 +38,11 @@ declare module "../../Engines/thinEngine" {
          * Select a subsets of attachments to draw to.
          * @param attachments gl attachments
          */
-        bindAttachments(attachments: any[]) : void;
+        bindAttachments(attachments: number[]) : void;
     }
 }
 
-ThinEngine.prototype.bindAttachments = function(attachments: any[]): void {
+ThinEngine.prototype.bindAttachments = function(attachments: number[]): void {
     const gl = this._gl;
 
     gl.drawBuffers(attachments);