mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
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:
parent
4e55cf1125
commit
bb1b705cd3
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user