mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-29 19:45:40 +00:00
5c5ba0e331
Cameron Gutman
After updating to SDL 2.0.9, I got a user report that my app was crashing when closing a SDL_WINDOW_FULLSCREEN window to return to my Qt-based UI. It looks like the dead SDL window is getting a spurious updateLayer call which is causing SDL to dereference a null SDL_WindowData pointer.
For some reason, this only happens when using SDL_WINDOW_FULLSCREEN and not windowed or SDL_WINDOW_FULLSCREEN_DESKTOP. I was also unsuccessful in my attempt to get a simple reproducer for this crash. The Session.cpp code is available
|
||
---|---|---|
.. | ||
SDL_cocoaclipboard.h | ||
SDL_cocoaclipboard.m | ||
SDL_cocoaevents.h | ||
SDL_cocoaevents.m | ||
SDL_cocoakeyboard.h | ||
SDL_cocoakeyboard.m | ||
SDL_cocoamessagebox.h | ||
SDL_cocoamessagebox.m | ||
SDL_cocoametalview.h | ||
SDL_cocoametalview.m | ||
SDL_cocoamodes.h | ||
SDL_cocoamodes.m | ||
SDL_cocoamouse.h | ||
SDL_cocoamouse.m | ||
SDL_cocoamousetap.h | ||
SDL_cocoamousetap.m | ||
SDL_cocoaopengl.h | ||
SDL_cocoaopengl.m | ||
SDL_cocoaopengles.h | ||
SDL_cocoaopengles.m | ||
SDL_cocoashape.h | ||
SDL_cocoashape.m | ||
SDL_cocoavideo.h | ||
SDL_cocoavideo.m | ||
SDL_cocoavulkan.h | ||
SDL_cocoavulkan.m | ||
SDL_cocoawindow.h | ||
SDL_cocoawindow.m |