dynamic mipmap textures

This commit is contained in:
DrPerkyLegit committed 2026-11-05 10:13:38 -05:00
1 parent 6115d0f63b
commit db2267ece7
4 files changed
+21 -2

No files matched your search

+1 -1
View File
@@ -856,7 +856,7 @@ void Textures::loadTexture(BufferedImage *img, int id, bool blur, bool clamp)
c2 = ( ( c2 >> 8 ) & 0x00ffffff ) | ( c2 << 24 );
c3 = ( ( c3 >> 8 ) & 0x00ffffff ) | ( c3 << 24 );
#endif
int col = Texture::crispBlend(Texture::crispBlend(c0, c1), Texture::crispBlend(c2, c3));
int col = Texture::averageMipColors(c0, c1, c2, c3);
#ifndef _XBOX
// 4J - and back from ARGB -> RGBA
col = ( col << 8 ) | (( col >> 24 ) & 0xff);