Scott Ramsby %!s(int64=7) %!d(string=hai) anos
pai
achega
5c91074d59
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/Engine/babylon.engine.ts

+ 2 - 1
src/Engine/babylon.engine.ts

@@ -4339,7 +4339,8 @@
          * @param compression defines the compression used (null by default)
          * @param type defines the type fo the data (BABYLON.Engine.TEXTURETYPE_UNSIGNED_INT by default)
          */
-        public updateRawTexture(texture: Nullable<InternalTexture>, data: Nullable<ArrayBufferView>, format: number, invertY: boolean, compression: Nullable<string> = null, type = Engine.TEXTURETYPE_UNSIGNED_INT): void {            if (!texture) {
+        public updateRawTexture(texture: Nullable<InternalTexture>, data: Nullable<ArrayBufferView>, format: number, invertY: boolean, compression: Nullable<string> = null, type = Engine.TEXTURETYPE_UNSIGNED_INT): void {
+            if (!texture) {
                 return;
             }
             // babylon's internalSizedFomat but gl's texImage2D internalFormat