From c85d32b8a286bdffc307bce01bc3d5b8aa25963c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Tue, 30 Sep 2014 19:01:16 +0200 Subject: [PATCH] (Lakka) Fix draw_icon in gles2 --- frontend/menu/disp/lakka.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/menu/disp/lakka.c b/frontend/menu/disp/lakka.c index 4859a98847..e3b464f18b 100644 --- a/frontend/menu/disp/lakka.c +++ b/frontend/menu/disp/lakka.c @@ -354,6 +354,9 @@ void lakka_draw_icon(GLuint texture, float x, float y, 1.0f, 1.0f, 1.0f, alpha, }; + if (gl->shader && gl->shader->use) + gl->shader->use(gl, GL_SHADER_STOCK_BLEND); + glViewport(x, gl->win_height - y, icon_size, icon_size); struct gl_coords coords;