aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/sdl_texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/sdl_texture.c')
-rw-r--r--c_src/sdl_texture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/c_src/sdl_texture.c b/c_src/sdl_texture.c
index 2179a09..b3d2198 100644
--- a/c_src/sdl_texture.c
+++ b/c_src/sdl_texture.c
@@ -14,6 +14,9 @@
#include "esdl2.h"
+NIF_ATOM_TO_ENUM_FUNCTION_DECL(atom_to_blend_mode, SDL_BlendMode)
+NIF_ENUM_TO_ATOM_FUNCTION_DECL(blend_mode_to_atom, SDL_BlendMode)
+
void dtor_Texture(ErlNifEnv* env, void* obj)
{
SDL_DestroyTexture(NIF_RES_GET(Texture, obj));