提交 46341725 编写于 作者: J jp9000

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.
上级 818a57c3
......@@ -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";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册