Re: SDL_TEXTUREACCESS_STREAMING + window resize = crash

"rsethc" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
I have noticed a very similar problem. (Windows 10, MinGW-w64, SDL 2.0.4 stable release)

If any texture exists at the time the window is resized, that was created by SDL_CreateTexture, no matter whether its access is SDL_TEXTUREACCESS_STREAMING or SDL_TEXTUREACCESS_STATIC, the app crashes due to a memory access violation.

Textures created by SDL_CreateTextureFromSurface do *not* cause this problem.

The problem only occurs with the DirectX renderer. The OpenGL renderer and software renderer do not have this issue.

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.