text-freetype2: Fix not updating chat log mode property

This commit is contained in:
Norihiro Kamae 2023-06-17 23:07:37 +09:00 committed by Lain
parent 90affc03fb
commit 43f7c8c928

View file

@ -400,7 +400,10 @@ static void ft2_source_update(void *data, obs_data_t *settings)
srcdata->log_lines = log_lines;
vbuf_needs_update = true;
}
srcdata->log_mode = chat_log_mode;
if (srcdata->log_mode != chat_log_mode) {
srcdata->log_mode = chat_log_mode;
vbuf_needs_update = true;
}
if (ft2_lib == NULL)
goto error;