clay/renderers/SDL2
Nic Barker ac473d6fe7
[Renderers/SDL2] Create initial SDL2 renderer (#115)
Co-authored-by: Junior Rantila <junior.rantila@gmail.com>
2024-12-28 19:15:22 +13:00
..
clay_renderer_SDL2.c [Renderers/SDL2] Create initial SDL2 renderer (#115) 2024-12-28 19:15:22 +13:00
README [Renderers/SDL2] Create initial SDL2 renderer (#115) 2024-12-28 19:15:22 +13:00

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"];
```