Skip to content

Commit 8911f75

Browse files
committed
Remove unnecessary gs_blend_state_push/pop
1 parent 254a97c commit 8911f75

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

obs-browser/browser-source-base.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,8 @@ void BrowserSource::Impl::RenderCurrentTexture(gs_effect_t *effect)
6868
GetParent()->LockTexture();
6969

7070
if (activeTexture != nullptr) {
71-
gs_reset_blend_state();
72-
7371
while (gs_effect_loop(obs_get_base_effect(OBS_EFFECT_PREMULTIPLIED_ALPHA), "Draw"))
7472
obs_source_draw(activeTexture, 0, 0, 0, 0, false);
75-
76-
gs_reset_blend_state();
7773
}
7874

7975
GetParent()->UnlockTexture();

0 commit comments

Comments
 (0)