ratishphilip / CompositionProToolkit

Collection of Helper classes and controls (using Win2d) for Windows.UI.Composition
MIT License
235 stars 29 forks source link

raising devicelost when the device is not lost #9

Closed ashfaquddin closed 7 years ago

ashfaquddin commented 7 years ago

This API was unexpectedly called when the Direct3D device is not lost. at Microsoft.Graphics.Canvas.CanvasDevice.RaiseDeviceLost() at CompositionProToolkit.CompositionGenerator.OnDisplayContentsInvalidated(DisplayInformation sender, Object args)

ratishphilip commented 7 years ago

@ashfaq-uddin Can you please provide more details of your scenario where this happened?

ashfaquddin commented 7 years ago

on a multimonitor setup switch off one monitor and you will get this

ratishphilip commented 7 years ago

@ashfaq-uddin with the release of v0.6, CompositionProToolkit now uses the DeviceLostHelper.

Could you please check whether this issue is still happening?

ratishphilip commented 7 years ago

This issue has been fixed in v0.6.