Closed nhrones closed 1 year ago
Just a heads up!
When I had my Surface framework example windows set to resize = false, I had no issues.
When I changed the examples to resize = true, resizing the window would crash with the following exit code:
3221225477 = 0xC0000005 = STATUS_ACCESS_VIOLATION
The problem turned out that I wasn't handling onContextLoss
onContextLoss
My Surface frameworks onContextLoss handler now refreshes its ctx reference. This has eliminated the exit error on resize/maximize.
ctx
Just a heads up!
When I had my Surface framework example windows set to resize = false, I had no issues.
When I changed the examples to resize = true, resizing the window would crash with the following exit code:
The problem turned out that I wasn't handling
onContextLoss
My Surface frameworks
onContextLoss
handler now refreshes itsctx
reference. This has eliminated the exit error on resize/maximize.