Pārlūkot izejas kodu

docs,libobs: Remove obs_render_main_view()

Deprecated since 21.0
derrod 1 gadu atpakaļ
vecāks
revīzija
bda463932e
3 mainītis faili ar 0 papildinājumiem un 20 dzēšanām
  1. 0 8
      docs/sphinx/reference-core.rst
  2. 0 6
      libobs/obs.c
  3. 0 6
      libobs/obs.h

+ 0 - 8
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

+ 0 - 6
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,

+ 0 - 6
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);