فهرست منبع

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.
          * Select a subsets of attachments to draw to.
          * @param attachments gl attachments
          * @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;
     const gl = this._gl;
 
 
     gl.drawBuffers(attachments);
     gl.drawBuffers(attachments);