TextureSource.setFilter will now set the scaleMode to the given filter.

This commit is contained in:
Richard Davey 2019-10-01 14:42:30 +01:00
parent 55c73d399b
commit 342ad984ac

View file

@ -235,6 +235,8 @@ var TextureSource = new Class({
{ {
this.renderer.setTextureFilter(this.glTexture, filterMode); this.renderer.setTextureFilter(this.glTexture, filterMode);
} }
this.scaleMode = filterMode;
}, },
/** /**