DXViewportView disappearing
#6
It looks like for some reason the DirectX device is removed when you minimize the window. This should not happen - Windows OS should preserve the device even when the computer goes to sleep.

This indicates a problem with the system or a driver.

Anyway, I the future I plan to improve error handling in this case (callingĀ GetDeviceRemovedReason to get a better reason for device removal). Also, there will be an event called in such a case - to handle such situations, the user will need to save the current state of the objects, then dispose all existing DXEngine / DirectX resources and recreate the scene from scratch.
Andrej Benedik
  


Messages In This Thread
DXViewportView disappearing - by Xav - 02-05-2018, 02:03 PM
RE: DXViewportView disappearing - by abenedik - 02-05-2018, 03:19 PM
RE: DXViewportView disappearing - by Xav - 02-05-2018, 06:43 PM
RE: DXViewportView disappearing - by abenedik - 02-06-2018, 12:46 AM
RE: DXViewportView disappearing - by Xav - 02-06-2018, 11:41 AM
RE: DXViewportView disappearing - by abenedik - 02-06-2018, 12:11 PM
RE: DXViewportView disappearing - by Xav - 02-06-2018, 12:24 PM
RE: DXViewportView disappearing - by leonardo - 02-06-2018, 04:46 PM
RE: DXViewportView disappearing - by Xav - 02-22-2018, 01:43 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)