diff options
| author | Carlos Une <une@fastmail.fm> | 2022-10-25 01:26:10 -0300 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2022-11-07 12:24:39 +0100 |
| commit | 8633179ad56db7fbf76c783d3e4b7eb4fcc4c7be (patch) | |
| tree | c348c08fc55e89adb35080504b0826a9ac955dee /sdl2/pixels.ha | |
| parent | Add SDL_CreateRGBSurface wrapper (diff) | |
| download | hare-chip8-8633179ad56db7fbf76c783d3e4b7eb4fcc4c7be.tar.gz | |
Add SDL_PIXELFORMAT_ARGB8888 def
Signed-off-by: Carlos Une <une@fastmail.fm>
Diffstat (limited to '')
| -rw-r--r-- | sdl2/pixels.ha | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sdl2/pixels.ha b/sdl2/pixels.ha index 618a3c5..75ccb99 100644 --- a/sdl2/pixels.ha +++ b/sdl2/pixels.ha @@ -36,3 +36,5 @@ export type SDL_PixelFormat = struct { refcount: int, next: nullable *SDL_PixelFormat, }; + +export def SDL_PIXELFORMAT_ARGB8888: u32 = 0x16362004; |
