From db91c3e9cdd06362e64f9b3dc8dbc6e66e75cc88 Mon Sep 17 00:00:00 2001 From: Herman Semenov Date: Fri, 5 Jul 2024 05:13:22 -0500 Subject: [PATCH] Removed excess assign same value --- Source/GmmLib/Texture/GmmGen11Texture.cpp | 1 - Source/GmmLib/Texture/GmmXe_LPGTexture.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/Source/GmmLib/Texture/GmmGen11Texture.cpp b/Source/GmmLib/Texture/GmmGen11Texture.cpp index faa4078..bc56564 100644 --- a/Source/GmmLib/Texture/GmmGen11Texture.cpp +++ b/Source/GmmLib/Texture/GmmGen11Texture.cpp @@ -63,7 +63,6 @@ void GmmLib::GmmGen11TextureCalc::FillPlanarOffsetAddress(GMM_TEXTURE_INFO *pTex pTexInfo->OffsetInfo.Plane.X[GMM_PLANE_Y] = 0; pTexInfo->OffsetInfo.Plane.Y[GMM_PLANE_Y] = 0; - pTexInfo->OffsetInfo.Plane.UnAligned.Height[GMM_PLANE_Y] = 0; pTexInfo->OffsetInfo.Plane.UnAligned.Height[GMM_PLANE_Y] = 0; Height = pTexInfo->BaseHeight; diff --git a/Source/GmmLib/Texture/GmmXe_LPGTexture.cpp b/Source/GmmLib/Texture/GmmXe_LPGTexture.cpp index 4a83600..81cba28 100644 --- a/Source/GmmLib/Texture/GmmXe_LPGTexture.cpp +++ b/Source/GmmLib/Texture/GmmXe_LPGTexture.cpp @@ -557,7 +557,6 @@ void GmmLib::GmmXe_LPGTextureCalc::FillPlanarOffsetAddress(GMM_TEXTURE_INFO *pTe pTexInfo->OffsetInfo.PlaneXe_LPG.X[GMM_PLANE_Y] = 0; pTexInfo->OffsetInfo.PlaneXe_LPG.Y[GMM_PLANE_Y] = 0; - pTexInfo->OffsetInfo.PlaneXe_LPG.UnAligned.Height[GMM_PLANE_Y] = 0; pTexInfo->OffsetInfo.PlaneXe_LPG.UnAligned.Height[GMM_PLANE_Y] = 0; Height = pTexInfo->BaseHeight;