mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-09-02 21:30:52 +00:00
[idd] driver: correct reported stride
This commit is contained in:
@@ -719,7 +719,7 @@ CIndirectDeviceContext::PreparedFrameBuffer CIndirectDeviceContext::PrepareFrame
|
||||
fi->dataHeight = height;
|
||||
fi->frameWidth = width;
|
||||
fi->frameHeight = height;
|
||||
fi->stride = width * bpp;
|
||||
fi->stride = pitch / bpp;
|
||||
fi->pitch = pitch;
|
||||
// fi->offset is initialized at startup
|
||||
fi->flags = 0;
|
||||
|
Reference in New Issue
Block a user