[host] fixed NvFBC bpp problem in nocrop mode

This commit is contained in:
Geoffrey McRae 2017-11-17 15:31:22 +11:00
parent 3a64f9b96c
commit f91b837172

View File

@ -236,7 +236,7 @@ bool NvFBC::GrabFrame(struct FrameInfo & frame)
if (m_optNoCrop)
{
dataWidth = m_grabInfo.dwWidth * 3;
dataWidth = m_grabInfo.dwWidth * 4;
dataOffset = 0;
frame.width = m_grabInfo.dwWidth;