瀏覽代碼

any -> number

Benjamin Guignabert 5 年之前
父節點
當前提交
c8eff4162d
共有 1 個文件被更改,包括 2 次插入2 次删除
  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);