libobs: Put obs_get_default_rect_effect back in temporarily

This function was removed even though the browser plugin was using this
function on mac, so this is being put back in temporarily while the
browser plugin is modified to remove this function.
This commit is contained in:
jp9000
2015-12-11 16:47:22 -08:00
parent 4e55cf1125
commit bb1b705cd3
2 changed files with 11 additions and 0 deletions
+7
View File
@@ -1360,6 +1360,13 @@ gs_effect_t *obs_get_base_effect(enum obs_base_effect effect)
return NULL;
}
/* DEPRECATED */
gs_effect_t *obs_get_default_rect_effect(void)
{
if (!obs) return NULL;
return obs->video.default_rect_effect;
}
signal_handler_t *obs_get_signal_handler(void)
{
if (!obs) return NULL;