SDL_TEXTUREACCESS_STREAMING crashes when window size changes |
ChliHug
|
This could be related to Bug 3147.
Check if it still happens when you change the renderer driver to OpenGL. You can do that by setting the SDL_RENDER_DRIVER environment variable to opengl. There was already a patch proposed in that bug report. If you want to test it and don't want to build SDL2 yourself, I made some binaries with the patch applied to 5b61e12c0a30. Download them here (These binaries require the Visual C++ 2015 runtime library. Also note that SDL2 behaves slightly different when built with libc on Windows. For example, SDL_Log prints the message twice.) |
|||||||||||
|
AntTheAlchemist
|
You're right, it looks like it's the same bug, thanks. I tested using various renderers and it only happens with direct3d. I'm using Eclipse, so I can't use the binary patch, unfortunately. Is this something that a new SDL2.dll should fix? |
|||||||||||||
|
ChliHug
|
Sure. Once the SDL developers push a fix to the official repository, then the next release should include it. However, it's hard to say when that will happen. |
|||||||||||||
|