1
0
mirror of synced 2025-01-19 01:14:08 +01:00

One more fix for gtx texture replacing which should fix corrupted swizzling

This commit is contained in:
KillzXGaming 2019-06-09 10:48:48 -04:00
parent 33e886e546
commit 978299f9ca
5 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -585,6 +585,7 @@ namespace FirstPlugin
if (ftex.texture != null)
{
surface.swizzle = ftex.texture.Swizzle;
surface.tileMode = (uint)ftex.texture.TileMode;
surface.format = (uint)ftex.texture.Format;
surface.aa = (uint)ftex.texture.AAMode;
surface.alignment = (uint)ftex.texture.Alignment;