v0.4.3: switched to a better fix for graphics bugs with shadowbox
This commit is contained in:
@@ -30,8 +30,10 @@ public class ShadowBox extends NinePatch {
|
||||
|
||||
public ShadowBox() {
|
||||
super( Assets.SHADOW, 1 );
|
||||
|
||||
texture.filter( SmartTexture.LINEAR, SmartTexture.LINEAR );
|
||||
|
||||
//If this is the first time the texture is generated, set the filtering
|
||||
if (texture.id == -1)
|
||||
texture.filter( SmartTexture.LINEAR, SmartTexture.LINEAR );
|
||||
|
||||
scale.set( SIZE, SIZE );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user