mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
TextureSource.setFilter
will now set the scaleMode
to the given filter.
This commit is contained in:
parent
55c73d399b
commit
342ad984ac
1 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,8 @@ var TextureSource = new Class({
|
||||||
{
|
{
|
||||||
this.renderer.setTextureFilter(this.glTexture, filterMode);
|
this.renderer.setTextureFilter(this.glTexture, filterMode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.scaleMode = filterMode;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue