Explorar o código

missing function declaration

Cedric Guillemet %!s(int64=5) %!d(string=hai) anos
pai
achega
33b1987b4f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;