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