Explorar el Código

libobs: Remove inline from function

This function is somewhat big and is a function called conditionally,
therefore having it be inline is somewhat of a waste if it's not always
being called.
jp9000 hace 10 años
padre
commit
46341725c2
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      libobs/obs-source.c

+ 1 - 2
libobs/obs-source.c

@@ -1115,8 +1115,7 @@ static inline void obs_source_render_filters(obs_source_t *source)
 	source->rendering_filter = false;
 }
 
-static inline void obs_source_default_render(obs_source_t *source,
-		bool color_matrix)
+static void obs_source_default_render(obs_source_t *source, bool color_matrix)
 {
 	gs_effect_t    *effect     = obs->video.default_effect;
 	const char     *tech_name = color_matrix ? "DrawMatrix" : "Draw";