[add] Resource manager sharedmtrx

This commit is contained in:
kimnuri
2025-12-07 11:10:53 +09:00
parent 46e3d626f4
commit a88be9c111
5 changed files with 67 additions and 62 deletions
+2 -1
View File
@@ -97,8 +97,9 @@ HRESULT CTexture::Load_SRV(const _char* szPath, ID3D11ShaderResourceView** ppSRV
{
ID3D11ShaderResourceView* pSRV = m_pGameInstance->Add_Resource(szPath);
if (nullptr == pSRV)
if (nullptr == pSRV){
return E_FAIL;
}
*ppSRV = pSRV;