[fix] InstanceProp ShaderPass 받아서 적용하도록 변경
This commit is contained in:
@@ -88,6 +88,10 @@ HRESULT CInstancedProp::Initialize(void* pArg)
|
||||
if (FAILED(Ready_Components(pArg)))
|
||||
return E_FAIL;
|
||||
|
||||
INSTANCE_PROP_DESC* pDesc = static_cast<INSTANCE_PROP_DESC*>(pArg);
|
||||
|
||||
m_eShaderPass = pDesc->eShaderPass;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user