Integrating github/staging through commit 5f214be

This commit is contained in:
alexpete
2021-04-13 17:18:57 -07:00
parent 2a9dfb7a1d
commit 8469c9ca0a
904 changed files with 9289 additions and 7157 deletions
@@ -4914,7 +4914,6 @@ bool CD3D9Renderer::ScreenShotInternal([[maybe_unused]] const char* filename, [[
// ignore invalid file access for screenshots
CDebugAllowFileAccess ignoreInvalidFileAccess;
bool bRet = true;
#if !defined(_RELEASE) || defined(WIN32) || defined(WIN64) || defined(ENABLE_LW_PROFILERS)
if (m_pRT && !m_pRT->IsRenderThread())
{
@@ -5041,8 +5040,11 @@ bool CD3D9Renderer::ScreenShotInternal([[maybe_unused]] const char* filename, [[
return CaptureFrameBufferToFile(path);
#else
return true;
#endif//_RELEASE
return bRet;
}
bool CD3D9Renderer::ScreenShot(const char* filename, int iPreWidth)
@@ -5656,8 +5658,6 @@ bool CD3D9Renderer::CaptureFrameBufferFast([[maybe_unused]] unsigned char* pDstR
}
SAFE_RELEASE(pSourceTexture);
return bStatus;
#endif
return bStatus;
@@ -5710,8 +5710,6 @@ bool CD3D9Renderer::CopyFrameBufferFast([[maybe_unused]] unsigned char* pDstRGBA
GetDeviceContext().Unmap(pCopyTexture, 0);
bStatus = true;
}
return bStatus;
#endif
return bStatus;