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:
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user