mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 09:41:32 +08:00
obs-text: Use custom draw flag
Fixes filters while preserving premult alpha
This commit is contained in:
@@ -969,7 +969,7 @@ bool obs_module_load(void)
|
||||
obs_source_info si = {};
|
||||
si.id = "text_gdiplus";
|
||||
si.type = OBS_SOURCE_TYPE_INPUT;
|
||||
si.output_flags = OBS_SOURCE_VIDEO;
|
||||
si.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW;
|
||||
si.get_properties = get_properties;
|
||||
|
||||
si.get_name = [] (void*)
|
||||
|
||||
Reference in New Issue
Block a user