You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let visual = unsafe{DirectComposition::IDCompositionVisual::from_raw_borrowed(&visual)}
372
372
.expect("COM pointer should not be NULL");
373
373
Surface{
@@ -381,7 +381,7 @@ impl Instance {
381
381
382
382
pubunsafefncreate_surface_from_surface_handle(
383
383
&self,
384
-
surface_handle:*mutstd::ffi::c_void,
384
+
surface_handle:*mut ffi::c_void,
385
385
) -> Surface{
386
386
// TODO: We're not given ownership, so we shouldn't call HANDLE::free(). This puts an extra burden on the caller to keep it alive.
387
387
// https://learn.microsoft.com/en-us/windows/win32/api/handleapi/nf-handleapi-duplicatehandle could help us, even though DirectComposition is not in the list?
0 commit comments