mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-04 15:09:40 +00:00
66859c8cd8
An SDL2 application is allowed to show a message box before the video subsystem is initialized. This change makes sure GUI::Application is initialized. An example of this is SRB2: the process forks itself to let the child process install itself as the signal handler and deal with errors. This child process could try to show a message box long after the video subsystem was initialized, but since it is a forked process there is no static state for GUI::Application or the connection to the window server and the process would crash because of a null dereference. |
||
---|---|---|
.. | ||
0001-Add-SerenityOS-platform-support.patch | ||
ReadMe.md |
Patches for SDL2 on SerenityOS
0001-Add-SerenityOS-platform-support.patch
Add SerenityOS platform support