Browse Source

any -> number

Benjamin Guignabert 5 years ago
parent
commit
c8eff4162d
1 changed files with 2 additions and 2 deletions
  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);