Ryan C. Gordon
Ryan C. Gordon
> So it looks like creating two OpenGL windows and then destroying one will unload the GL while you're still using it...? Just tried `testgl2 --windows 2` and it's getting...
> Interestingly, SDL_GL_LoadLibrary isn't interested in reference counting this: Read this incorrectly, it increments below this if `retval == 0`.
Started working on cleaning this up over in https://github.com/icculus/SDL/tree/gl-driver-loaded-rework This doesn't even compile yet, so this isn't in a pull request at the moment. It's a surprising amount to untangle!
I can see this happen on an M1 Mac Mini on Monterey 12.5. Sometimes the issue doesn't appear to happen for several attempts in a row, and extremely rarely, the...
I still have no idea on this. Maybe we should ping Apple about it?
Bumping this to 2.26 to wait for the cavalry from Apple to arrive. :)
Yeah, I'll take a look.
I can't reproduce this here on X11. Is this a Wayland thing, maybe?
Moving to 2.24 in case I can reproduce this quickly with this new info, but it's bumping back to 2.26 if not (we're almost out of time for 2.24).
Running `SDL_EVENT_LOGGING=1 ./testvulkan --resizable` here and pressing alt-enter to go fullscreen_desktop and back is working correctly on Gnome/x11; I get a SIZE_CHANGED for both going and coming from fullscreen_desktop mode....