Jelle Raaijmakers
09d211e08a
Ports: Make SDL2 build since recent GL::create_context
changes
...
We also directly invoke `::present` on `GLContext` instead of going
through the static method `GL::present_context`.
2022-09-17 19:38:30 +02:00
Jelle Raaijmakers
6af184b48b
Ports: Support SDL_WINDOWEVENT_CLOSE
in SDL2
...
This allows PrBoom+ to properly quit the application when closing the
main window.
2022-09-03 00:07:24 +02:00
Jelle Raaijmakers
14ece2ac90
Ports: Support "restarts" in SDL2
...
SDL2 applications are prone to reinitializing the SDL components when,
for example, changing the display resolution. This would lead to
crashes since we were doing things in the wrong order.
* We now decouple `GLContext` from `SDL_Window` a bit more, allowing
the window to be destroyed before the GLContext.
* Do not quit the `GUI::Application`, let our event loop handle exiting
These changes allow changing the display resolution in the Quake3 port.
2022-08-31 12:42:55 +01:00
Tim Schumacher
831afe3c3d
Ports/SDL2: Update to 2.24.0
2022-08-23 13:30:48 +01:00
Tim Schumacher
2e31a479c4
Ports/SDL2: Do an out-of-tree build
...
SDL 2.24.0 starts having include loops if we try to do an in-tree build
against its wishes, so let's not do that anymore.
2022-08-23 13:30:48 +01:00
Tim Schumacher
218e6d2f5e
Ports/SDL2: Rename LibAudio connection to ConnectionToServer
2022-07-23 00:21:13 +01:00
Tim Schumacher
4cf55c4056
Ports/SDL2: Update for the recent StringView
changes
2022-07-16 23:13:43 +01:00
Tim Schumacher
333429fa47
Ports/SDL2: Implement a basic keyboard focus
...
Some SDL applications will not process inputs that they receive without
ensuring that they have the keyboard input focus.
2022-06-10 14:21:20 +01:00
Tim Schumacher
d426c5a4b2
Ports: Format patches without numbering, commit hash or version number
2022-06-08 17:58:36 +01:00
Tim Schumacher
5a24accfa7
Ports: Update SDL2 to 2.0.22
2022-05-25 23:04:52 +01:00
Tim Schumacher
cb6a406190
Ports: Return SDL2 to upstream
2022-05-25 23:04:52 +01:00