Could not create/update textures when window is minimized on Windows (original) (raw)
This is more a question about how a client app should behave rather than a bug report.
On Windows (and only on Windows), if the window is minimized, creating a texture (SDL_CreateTexture()) results in the following error:
CreateTexture(D3DPOOL_DEFAULT): INVALIDCALL
Updating a texture (SDL_UpdateYUVTexture()) results in:
Is it expected? Should I disable all texture creation/update when a window in minimized? Should I disable it only on Windows (for example, I can imagine that some window managers may still update some thumb view when a window is minimized)?