some static analysis cleanup

This commit is contained in:
jp9000
2013-10-17 17:21:42 -07:00
parent 6e6535d568
commit 18834c6a45
42 changed files with 240 additions and 157 deletions

View File

@@ -74,12 +74,12 @@ void random_video_render(struct random_tex *rt, obs_source_t filter_target)
technique_end(tech);
}
int random_getwidth(struct random_tex *rt)
uint32_t random_getwidth(struct random_tex *rt)
{
return texture_getwidth(rt->texture);
}
int random_getheight(struct random_tex *rt)
uint32_t random_getheight(struct random_tex *rt)
{
return texture_getheight(rt->texture);
}

View File

@@ -17,8 +17,8 @@ EXPORT uint32_t random_get_output_flags(struct random_tex *rt);
EXPORT void random_video_render(struct random_tex *rt, obs_source_t filter_target);
EXPORT int random_getwidth(struct random_tex *rt);
EXPORT int random_getheight(struct random_tex *rt);
EXPORT uint32_t random_getwidth(struct random_tex *rt);
EXPORT uint32_t random_getheight(struct random_tex *rt);
#ifdef __cplusplus
}