1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-05 22:54:55 +00:00
serenity/Ports/SDL2
Jelle Raaijmakers 66859c8cd8 Ports/SDL2: Support ShowMessageBox before VideoInit
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.
2024-02-15 12:33:23 +01:00
..
patches Ports/SDL2: Support ShowMessageBox before VideoInit 2024-02-15 12:33:23 +01:00
package.sh Ports: Switch to the new files syntax 2023-09-09 01:06:31 +02:00