mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-14 02:31:12 +00:00
* We can't easily restore the application's context if the DC that was current has been released. Instead we check to see if the last known window is still valid - if so, we get the DC handle from it. If not then we assume that rendering to the application's context setup would have failed so we bind our own backdoor window (but with the application's context still).