From 66a56fe7634f6c2cceda4128ef2e746ad2619af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 7 Jan 2018 17:06:24 +0100 Subject: Add the display mode query functions --- c_src/sdl_pixels.c | 1 + 1 file changed, 1 insertion(+) (limited to 'c_src/sdl_pixels.c') 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) -- cgit v1.2.3