How do I deal with Out of Memory errors and such in Direct2D?
I need to deal with these properly so my app doesn't crash. My app, not a game but uses Direct2D, crashes every once in a while due to out of memory errors and other Direct2d errors. Now I do catch the errors in the C++/CX side but it
still is crashing. So what do I do if it say gets an Out of Memory error in my BeginDraw or EndDraw function? How do I deal with resetting everything and not getting the app to crash?
Sorry I'm only a year and a half into Direct2D programming and don't know how to deal with this properly.
SB Software Developer