libobs: Allow add_alignment to be used by other source files

This commit is contained in:
jp9000
2016-01-03 15:13:51 -08:00
parent 5098f68db0
commit ed10b1ab57
2 changed files with 3 additions and 1 deletions

View File

@@ -184,7 +184,7 @@ static inline void attach_sceneitem(struct obs_scene *parent,
}
}
static void add_alignment(struct vec2 *v, uint32_t align, int cx, int cy)
void add_alignment(struct vec2 *v, uint32_t align, int cx, int cy)
{
if (align & OBS_ALIGN_RIGHT)
v->x += (float)cx;