Skip to content

Commit 64e2682

Browse files
Fix duplicate assignment of Unaligned Height in Planar Offset Address (#253)
1 parent 246fa36 commit 64e2682

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Source/GmmLib/Texture/GmmGen11Texture.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ void GmmLib::GmmGen11TextureCalc::FillPlanarOffsetAddress(GMM_TEXTURE_INFO *pTex
6363
pTexInfo->OffsetInfo.Plane.X[GMM_PLANE_Y] = 0;
6464
pTexInfo->OffsetInfo.Plane.Y[GMM_PLANE_Y] = 0;
6565

66-
pTexInfo->OffsetInfo.Plane.UnAligned.Height[GMM_PLANE_Y] = 0;
6766
pTexInfo->OffsetInfo.Plane.UnAligned.Height[GMM_PLANE_Y] = 0;
6867

6968
Height = pTexInfo->BaseHeight;

Source/GmmLib/Texture/GmmXe_LPGTexture.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,6 @@ void GmmLib::GmmXe_LPGTextureCalc::FillPlanarOffsetAddress(GMM_TEXTURE_INFO *pTe
563563
pTexInfo->OffsetInfo.PlaneXe_LPG.X[GMM_PLANE_Y] = 0;
564564
pTexInfo->OffsetInfo.PlaneXe_LPG.Y[GMM_PLANE_Y] = 0;
565565

566-
pTexInfo->OffsetInfo.PlaneXe_LPG.UnAligned.Height[GMM_PLANE_Y] = 0;
567566
pTexInfo->OffsetInfo.PlaneXe_LPG.UnAligned.Height[GMM_PLANE_Y] = 0;
568567

569568
Height = pTexInfo->BaseHeight;

0 commit comments

Comments
 (0)