mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-15 17:44:42 +00:00
Fixed anisotropic filtering with TextureFX
This commit is contained in:
1 parent
71f3c55d9d
commit
38744413af
2 files changed
+46
-20
No files matched your search
@@ -48,9 +48,9 @@ public class SpriteSheetManager
|
||||
if(TextureUtils.refreshTexture(textureMap, resource.getResourcePath()))
|
||||
{
|
||||
reloadTexture();
|
||||
for(int i = 0; i < sprites.length; i++)
|
||||
if(sprites[i] != null)
|
||||
textureMap.setTextureEntry(sprites[i].getIconName(), sprites[i]);
|
||||
for (TextureSpecial sprite : sprites)
|
||||
if (sprite != null)
|
||||
textureMap.setTextureEntry(sprite.getIconName(), sprite);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user