From bda463932e7058f3f63a7e82c58aa5de1b900411 Mon Sep 17 00:00:00 2001 From: derrod Date: Wed, 21 Aug 2024 08:45:19 +0200 Subject: [PATCH] docs,libobs: Remove obs_render_main_view() Deprecated since 21.0 --- docs/sphinx/reference-core.rst | 8 -------- libobs/obs.c | 6 ------ libobs/obs.h | 6 ------ 3 files changed, 20 deletions(-) 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);