mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
Reset blend state for image source
This is more of a temporary fix for the time being, it needs to handle blend state changes better, perhaps via push/pop of state changes
This commit is contained in:
@@ -82,6 +82,7 @@ static void image_source_render(void *data, effect_t effect)
|
||||
if (!context->tex)
|
||||
return;
|
||||
|
||||
gs_reset_blend_state();
|
||||
effect_settexture(effect_getparambyname(effect, "image"), context->tex);
|
||||
gs_draw_sprite(context->tex, 0, context->cx, context->cy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user