mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-12 08:38:10 +00:00
visual/Movie/ImageStim: avoid blanket texture cache reset
This commit is contained in:
parent
2d0066bd5e
commit
5eeda1aed4
@ -260,8 +260,6 @@ export class ImageStim extends util.mix(VisualStim).with(ColorMixin)
|
||||
texture: true,
|
||||
baseTexture: false
|
||||
});
|
||||
|
||||
PIXI.utils.clearTextureCache();
|
||||
}
|
||||
this._pixi = undefined;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user