From a01b59fb21b1fa34b0c8caf0f519aab250c080e2 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Wed, 16 Jul 2014 14:51:59 -0700 Subject: [PATCH] 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 --- plugins/image-source/image-source.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/image-source/image-source.c b/plugins/image-source/image-source.c index d80517deb..93135f944 100644 --- a/plugins/image-source/image-source.c +++ b/plugins/image-source/image-source.c @@ -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); }