SDL_Texture life cycle

Can anyone advise me as to how and when an SDL_Texture may be implicitly invalidated by the OS? For example, if I minimize my application or switch to another application, are my textures guaranteed to be intact when focus is returned?

I am aware that specific SDL activities (e.g. resolution change) may invalidate certain resources, but are there any implicit circumstances I need to be aware of?

Any advice would be gratefully received.

I think the best answer you can get is by creating a test project and experimenting yourself with whatever you’re worried about.

I can tell you from personal experience that I have yet to come across a condition where a texture is ruined without explicit dispose call. I just tested minimize to be sure, and can confirm that at least on Windows it doesn’t do any harm.