Merge pull request #1070 from lakkatv/lakka

(Lakka) Fix draw_icon in gles2
This commit is contained in:
Twinaphex 2014-09-30 19:02:02 +02:00
commit a3c4f52dd3
1 changed files with 3 additions and 0 deletions

View File

@ -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;