diff --git a/docs/sphinx/reference-core.rst b/docs/sphinx/reference-core.rst index 576cd0351..c624c7bbf 100644 --- a/docs/sphinx/reference-core.rst +++ b/docs/sphinx/reference-core.rst @@ -501,14 +501,6 @@ Video, Audio, and Graphics --------------------- -.. function:: void obs_render_main_view(void) - - Renders the main view. - - Note: This function is deprecated. - ---------------------- - .. function:: void obs_render_main_texture(void) Renders the main output texture. Useful for rendering a preview pane diff --git a/libobs/obs.c b/libobs/obs.c index b821ec7b7..c0036729d 100644 --- a/libobs/obs.c +++ b/libobs/obs.c @@ -2153,12 +2153,6 @@ proc_handler_t *obs_get_proc_handler(void) return obs->procs; } -/* OBS_DEPRECATED */ -void obs_render_main_view(void) -{ - obs_view_render(&obs->data.main_view); -} - static void obs_render_main_texture_internal(enum gs_blend_type src_c, enum gs_blend_type dest_c, enum gs_blend_type src_a, diff --git a/libobs/obs.h b/libobs/obs.h index 771e63a6c..25b5eb13f 100644 --- a/libobs/obs.h +++ b/libobs/obs.h @@ -752,12 +752,6 @@ EXPORT signal_handler_t *obs_get_signal_handler(void); /** Returns the primary obs procedure handler */ EXPORT proc_handler_t *obs_get_proc_handler(void); -#ifndef SWIG -/** Renders the main view */ -OBS_DEPRECATED -EXPORT void obs_render_main_view(void); -#endif - /** Renders the last main output texture */ EXPORT void obs_render_main_texture(void);