From 342ad984ac368475effc5722117ef125b4afda9a Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Tue, 1 Oct 2019 14:42:30 +0100 Subject: [PATCH] `TextureSource.setFilter` will now set the `scaleMode` to the given filter. --- src/textures/TextureSource.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/textures/TextureSource.js b/src/textures/TextureSource.js index d9c4f55ac..ebcb62d78 100644 --- a/src/textures/TextureSource.js +++ b/src/textures/TextureSource.js @@ -235,6 +235,8 @@ var TextureSource = new Class({ { this.renderer.setTextureFilter(this.glTexture, filterMode); } + + this.scaleMode = filterMode; }, /**