fix(host/windows): Option-handle the multi-line dupl.GetFramePointerShape call too

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-16 15:41:41 +00:00
parent da43b5e8d3
commit 1e1e5ce9b5
+4 -1
View File
@@ -1419,13 +1419,16 @@ impl DuplCapturer {
let mut si = DXGI_OUTDUPL_POINTER_SHAPE_INFO::default();
if self
.dupl
.GetFramePointerShape(
.as_ref()
.is_some_and(|d| {
d.GetFramePointerShape(
info.PointerShapeBufferSize,
buf.as_mut_ptr() as *mut c_void,
&mut required,
&mut si,
)
.is_ok()
})
{
if let Some(shape) = convert_pointer_shape(&buf, &si) {
tracing::info!(