[fix] RT MANAGER 에러
This commit is contained in:
@@ -165,10 +165,10 @@ HRESULT CRenderTarget_Manager::Refit_RenderTarget(class CShader* pShader, const
|
|||||||
m_pContext->RSGetViewports(&iNumViewPort, &vp);
|
m_pContext->RSGetViewports(&iNumViewPort, &vp);
|
||||||
|
|
||||||
D3D11_TEXTURE2D_DESC OutputDesc = {};
|
D3D11_TEXTURE2D_DESC OutputDesc = {};
|
||||||
|
pOutput->Get_TextureDesc(OutputDesc);
|
||||||
vp.Width = (_float)OutputDesc.Width;
|
vp.Width = (_float)OutputDesc.Width;
|
||||||
vp.Height = (_float)OutputDesc.Height;
|
vp.Height = (_float)OutputDesc.Height;
|
||||||
|
|
||||||
pOutput->Get_TextureDesc(OutputDesc);
|
|
||||||
pOutput->Clear();
|
pOutput->Clear();
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user