How do I know when the resources I sent to the gfxcard has become invalid, like when I Alt-Tab from a fullscreen window.
In DirectX I can detect if the device is lost, reset it and send all the lost data to the card again.
But how does this work when using OpenGL?
In DirectX I can detect if the device is lost, reset it and send all the lost data to the card again.
But how does this work when using OpenGL?