mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 19:21:09 +00:00
(Lakka) Fix draw_icon in gles2
This commit is contained in:
parent
ce3ebc1bdb
commit
c85d32b8a2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user