source/shader: Fix missing buffered draw requirement (#516)

Fixes #516
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2021-04-14 12:01:47 +02:00
parent b324ed2b28
commit cd7f45eec4

View file

@ -101,7 +101,7 @@ shader_factory::shader_factory()
{
_info.id = PREFIX "source-shader";
_info.type = OBS_SOURCE_TYPE_INPUT;
_info.output_flags = OBS_SOURCE_VIDEO;
_info.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW;
set_activity_tracking_enabled(true);
finish_setup();