[Renderers/SDL2] Create initial SDL2 renderer (#115)

Co-authored-by: Junior Rantila <junior.rantila@gmail.com>
This commit is contained in:
Nic Barker 2024-12-28 19:15:22 +13:00 committed by GitHub
parent bec56e68a4
commit ac473d6fe7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 574 additions and 26 deletions

13
renderers/SDL2/README Normal file
View file

@ -0,0 +1,13 @@
Please note, the SDL2 renderer is not 100% feature complete. It is currently missing:
- Border rendering
- Image rendering
- Rounded rectangle corners
Note: on Mac OSX, SDL2 for some reason decides to automatically disable momentum scrolling on macbook trackpads.
You can re enable it in objective C using:
```C
[[NSUserDefaults standardUserDefaults] setBool: YES
forKey: @"AppleMomentumScrollSupported"];
```