mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-13 01:38:20 +00:00
[host] fixed NvFBC bpp problem in nocrop mode
This commit is contained in:
parent
3a64f9b96c
commit
f91b837172
@ -236,7 +236,7 @@ bool NvFBC::GrabFrame(struct FrameInfo & frame)
|
|||||||
|
|
||||||
if (m_optNoCrop)
|
if (m_optNoCrop)
|
||||||
{
|
{
|
||||||
dataWidth = m_grabInfo.dwWidth * 3;
|
dataWidth = m_grabInfo.dwWidth * 4;
|
||||||
dataOffset = 0;
|
dataOffset = 0;
|
||||||
|
|
||||||
frame.width = m_grabInfo.dwWidth;
|
frame.width = m_grabInfo.dwWidth;
|
||||||
|
Loading…
Reference in New Issue
Block a user