Pārlūkot izejas kodu

missing function declaration

Cedric Guillemet 5 gadi atpakaļ
vecāks
revīzija
33b1987b4f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/Engines/nativeEngine.ts

+ 1 - 1
src/Engines/nativeEngine.ts

@@ -71,7 +71,7 @@ interface INativeEngine {
     setFloat4(uniform: WebGLUniformLocation, x: number, y: number, z: number, w: number): void;
 
     createTexture(): WebGLTexture;
-    loadTexture(texture: WebGLTexture, buffer: ArrayBuffer | ArrayBufferView | Blob, mipMap: boolean): void;
+    loadTexture(texture: WebGLTexture, buffer: ArrayBuffer | ArrayBufferView | Blob, mipMap: boolean, invertY: boolean): void;
     loadCubeTexture(texture: WebGLTexture, data: Array<Array<ArrayBufferView>>, flipY : boolean): void;
     getTextureWidth(texture: WebGLTexture): number;
     getTextureHeight(texture: WebGLTexture): number;