mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-11 06:15:05 +00:00
filter/shader: Use direct rendering (#501)
This commit is contained in:
parent
e7dd44e3ec
commit
4a3d1d4fa5
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ void shader_instance::video_render(gs_effect_t* effect)
|
|||
|
||||
_fx->prepare_render();
|
||||
_fx->set_input_a(_rt->get_texture());
|
||||
_fx->render();
|
||||
_fx->render(effect);
|
||||
}
|
||||
} catch (const std::exception& ex) {
|
||||
obs_source_skip_video_filter(_self);
|
||||
|
@ -148,7 +148,7 @@ shader_factory::shader_factory()
|
|||
{
|
||||
_info.id = PREFIX "filter-shader";
|
||||
_info.type = OBS_SOURCE_TYPE_FILTER;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO;
|
||||
|
||||
set_activity_tracking_enabled(true);
|
||||
finish_setup();
|
||||
|
|
Loading…
Reference in a new issue