We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85a2ed1 + b5d8117 commit 6a236d1Copy full SHA for 6a236d1
src/core/textures/Texture.ts
@@ -292,6 +292,10 @@ export abstract class Texture extends EventEmitter {
292
}
293
294
load(): void {
295
+ if (this.maxRetryCount === null && this.retryCount > 0) {
296
+ return;
297
+ }
298
+
299
if (this.maxRetryCount !== null && this.retryCount > this.maxRetryCount) {
300
// We've exceeded the max retry count, do not attempt to load again
301
return;
0 commit comments