Cedric Guillemet 5 лет назад
Родитель
Сommit
4882aa1ccc
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/Engines/nativeEngine.ts

+ 1 - 0
src/Engines/nativeEngine.ts

@@ -1079,6 +1079,7 @@ export class NativeEngine extends Engine {
                 if (nativeHandle === this.INVALID_HANDLE) {
                     throw new Error("Could not load a native cube texture.");
                 }
+
                 texture.isReady = true;
                 if (onLoad) {
                     onLoad();