Skip to content

d3d11screencapture: Set viewport when drawing mouse cursor

Jakub Adam requested to merge xhaakon/gstreamer:d3d11-mouse into main

If there weren't any moved/dirty regions in the captured frame, the viewport of the ID3D11DeviceContext would be left at whatever previous value it had, which could lead to the cursor being drawn in a wrong position and/or in an incorrect size.

Merge request reports