aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/sdl_pixels.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/sdl_pixels.c')
-rw-r--r--c_src/sdl_pixels.c1
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)