HLE : Post-rebase fixes

This commit is contained in:
patrickvl 2018-04-28 23:36:13 +02:00
parent 2654eaae3c
commit 8fa81b99af
1 changed files with 2 additions and 2 deletions

View File

@ -4590,11 +4590,11 @@ void CreateHostResource(XTL::X_D3DResource *pResource, int iTextureStage, DWORD
XTL::X_D3DPixelContainer *pPixelContainer = (XTL::X_D3DPixelContainer*)pResource;
XTL::X_D3DFORMAT X_Format = GetXboxPixelContainerFormat(pPixelContainer);
DWORD D3DUsage = 0;
D3DPOOL D3DPool = D3DPOOL_MANAGED; // TODO : Nuance D3DPOOL where/when needed
XTL::D3DPOOL D3DPool = XTL::D3DPOOL_MANAGED; // TODO : Nuance D3DPOOL where/when needed
if (EmuXBFormatIsDepthBuffer(X_Format)) {
D3DUsage = D3DUSAGE_DEPTHSTENCIL;
D3DPool = D3DPOOL_DEFAULT;
D3DPool = XTL::D3DPOOL_DEFAULT;
}
else if (pPixelContainer == g_pXboxRenderTarget) {
if (EmuXBFormatIsRenderTarget(X_Format))