1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-12 16:48:10 +00:00

visual/Movie/ImageStim: avoid blanket texture cache reset

This commit is contained in:
Sotiri Bakagiannis 2021-02-15 21:07:41 +00:00
parent 2d0066bd5e
commit 5eeda1aed4
2 changed files with 0 additions and 5 deletions

View File

@ -260,8 +260,6 @@ export class ImageStim extends util.mix(VisualStim).with(ColorMixin)
texture: true,
baseTexture: false
});
PIXI.utils.clearTextureCache();
}
this._pixi = undefined;

View File

@ -363,9 +363,6 @@ export class MovieStim extends VisualStim
texture: true,
baseTexture: false
});
// Avoid warnings about overlapping ids, texture destroyed anyways
PIXI.utils.clearTextureCache();
}
this._pixi = undefined;