From 46341725c2aff6ebf8315a674d6421afa3c6897f Mon Sep 17 00:00:00 2001 From: jp9000 Date: Wed, 25 Feb 2015 20:56:06 -0800 Subject: [PATCH] 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. --- libobs/obs-source.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libobs/obs-source.c b/libobs/obs-source.c index 8acfdf5cd..760d8202f 100644 --- a/libobs/obs-source.c +++ b/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";