diff --git a/Source/GmmLib/Resource/GmmResourceInfoCommon.cpp b/Source/GmmLib/Resource/GmmResourceInfoCommon.cpp index 3cc898f..d407dff 100644 --- a/Source/GmmLib/Resource/GmmResourceInfoCommon.cpp +++ b/Source/GmmLib/Resource/GmmResourceInfoCommon.cpp @@ -156,6 +156,7 @@ GMM_STATUS GMM_STDCALL GmmLib::GmmResourceInfoCommon::CreateCustomRes(Context &G Surf.Alignment.BaseAlignment = CreateParams.BaseAlignment; Surf.MaxLod = 1; Surf.ArraySize = 1; + Surf.CpTag = CreateParams.CpTag; #if(_DEBUG || _RELEASE_INTERNAL) Surf.Platform = GetGmmLibContext()->GetPlatformInfo().Platform; diff --git a/Source/GmmLib/inc/External/Common/GmmResourceInfoExt.h b/Source/GmmLib/inc/External/Common/GmmResourceInfoExt.h index bc62ad6..5f75c4b 100644 --- a/Source/GmmLib/inc/External/Common/GmmResourceInfoExt.h +++ b/Source/GmmLib/inc/External/Common/GmmResourceInfoExt.h @@ -361,6 +361,7 @@ typedef struct GMM_RESCREATE_CUSTOM_PARAMS__REC }PlaneOffset; uint32_t NoOfPlanes; + uint32_t CpTag; }GMM_RESCREATE_CUSTOM_PARAMS; //===========================================================================