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:
jp9000
2014-07-16 14:53:21 -07:00
parent bd2b4c91b6
commit a01b59fb21
+1
View File
@@ -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);
}