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();
|
let mut si = DXGI_OUTDUPL_POINTER_SHAPE_INFO::default();
|
||||||
if self
|
if self
|
||||||
.dupl
|
.dupl
|
||||||
.GetFramePointerShape(
|
.as_ref()
|
||||||
info.PointerShapeBufferSize,
|
.is_some_and(|d| {
|
||||||
buf.as_mut_ptr() as *mut c_void,
|
d.GetFramePointerShape(
|
||||||
&mut required,
|
info.PointerShapeBufferSize,
|
||||||
&mut si,
|
buf.as_mut_ptr() as *mut c_void,
|
||||||
)
|
&mut required,
|
||||||
.is_ok()
|
&mut si,
|
||||||
|
)
|
||||||
|
.is_ok()
|
||||||
|
})
|
||||||
{
|
{
|
||||||
if let Some(shape) = convert_pointer_shape(&buf, &si) {
|
if let Some(shape) = convert_pointer_shape(&buf, &si) {
|
||||||
tracing::info!(
|
tracing::info!(
|
||||||
|
|||||||
Reference in New Issue
Block a user