From f13ae77e00bf207d054cca50ae5b5b48dec0f32c Mon Sep 17 00:00:00 2001 From: fryshorts Date: Tue, 18 Feb 2014 21:29:15 +0100 Subject: [PATCH] disable blending for desktop capture --- test/linux/xshm-input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/linux/xshm-input.c b/test/linux/xshm-input.c index 8e997a354..fb4d59f35 100644 --- a/test/linux/xshm-input.c +++ b/test/linux/xshm-input.c @@ -182,6 +182,8 @@ static void xshm_input_video_render(void *vptr, effect_t effect) eparam_t image = effect_getparambyname(effect, "image"); effect_settexture(effect, image, data->texture); + gs_enable_blending(False); + gs_draw_sprite(data->texture, 0, 0, 0); // render the cursor -- GitLab