Browse Source

Properly wire CompositionInterop.IsLost (#21824)

pull/21827/head
Nikita Tsukanov 3 months ago
committed by GitHub
parent
commit
5d2d9e4dc4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/Avalonia.Base/Rendering/Composition/CompositionInterop.cs

2
src/Avalonia.Base/Rendering/Composition/CompositionInterop.cs

@ -56,7 +56,7 @@ internal class CompositionInterop : ICompositionGpuInterop
throw new System.NotSupportedException();
}
public bool IsLost { get; }
public bool IsLost => _context.IsLost;
public byte[]? DeviceLuid { get; set; }
public byte[]? DeviceUuid { get; set; }
}

Loading…
Cancel
Save