提交 bb1b705c 编写于 作者: J jp9000

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.
上级 4e55cf11
......@@ -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;
......
......@@ -533,6 +533,10 @@ enum obs_base_effect {
/** Returns a commonly used base effect */
EXPORT gs_effect_t *obs_get_base_effect(enum obs_base_effect effect);
/* DEPRECATED: gets texture_rect default effect */
DEPRECATED_START EXPORT gs_effect_t *obs_get_default_rect_effect(void)
DEPRECATED_END;
/** Returns the primary obs signal handler */
EXPORT signal_handler_t *obs_get_signal_handler(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册