diff options
author | Loïc Hoguin <[email protected]> | 2018-01-07 17:06:24 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-01-07 17:06:24 +0100 |
commit | 66a56fe7634f6c2cceda4128ef2e746ad2619af3 (patch) | |
tree | cd439dc7bcfaa0328b29e6fe92488ee54848c502 /c_src/sdl_pixels.c | |
parent | 0a6ef9d42ac008c7b8bf6b3d0f112ce040e3568c (diff) | |
download | esdl2-66a56fe7634f6c2cceda4128ef2e746ad2619af3.tar.gz esdl2-66a56fe7634f6c2cceda4128ef2e746ad2619af3.tar.bz2 esdl2-66a56fe7634f6c2cceda4128ef2e746ad2619af3.zip |
Add the display mode query functions
Diffstat (limited to 'c_src/sdl_pixels.c')
-rw-r--r-- | c_src/sdl_pixels.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c_src/sdl_pixels.c b/c_src/sdl_pixels.c index 08c9a61..aa22329 100644 --- a/c_src/sdl_pixels.c +++ b/c_src/sdl_pixels.c @@ -59,3 +59,4 @@ E(nv21, SDL_PIXELFORMAT_NV21) NIF_ENUM_TO_ATOM_FUNCTION(pixel_format_to_atom, Uint32, PIXEL_FORMAT_ENUM) +NIF_ATOM_TO_ENUM_FUNCTION(atom_to_pixel_format, Uint32, PIXEL_FORMAT_ENUM) |