mirror of
https://github.com/nicbarker/clay.git
synced 2025-11-04 16:46:18 +00:00
Implements CLAY_RENDER_COMMAND_TYPE_IMAGE and CLAY_RENDER_COMMAND_TYPE_BORDER for SDL2. Both have been added to SDL-video-demo to provide examples. |
||
|---|---|---|
| .. | ||
| clay_renderer_SDL2.c | ||
| README | ||
Please note, the SDL2 renderer is not 100% feature complete. It is currently missing:
- 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"];
```