mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
libobs: Remove unnecessary branch
Fast path for output texture shouldn't care what the effect is.
This commit is contained in:
parent
a45cb71f6e
commit
1ddabc5c7c
|
@ -233,8 +233,7 @@ render_output_texture(struct obs_core_video_mix *mix)
|
|||
if (video_output_get_format(mix->video) == VIDEO_FORMAT_RGBA) {
|
||||
tech = gs_effect_get_technique(effect, "DrawAlphaDivide");
|
||||
} else {
|
||||
if ((effect == video->default_effect) &&
|
||||
(width == video->base_width) &&
|
||||
if ((width == video->base_width) &&
|
||||
(height == video->base_height))
|
||||
return texture;
|
||||
|
||||
|
|
Loading…
Reference in a new issue