mirror of
https://github.com/libretro/RetroArch
synced 2025-02-23 06:41:04 +00:00
(GLUI) Add back stock shader blend in glui_draw_icon function
This commit is contained in:
parent
85ff9e5418
commit
052616c675
@ -138,6 +138,9 @@ static void glui_draw_icon(gl_t *gl, glui_handle_t *glui,
|
|||||||
glEnable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
|
|
||||||
|
if (gl->shader && gl->shader->use)
|
||||||
|
gl->shader->use(gl, GL_SHADER_STOCK_BLEND);
|
||||||
|
|
||||||
matrix_4x4_rotate_z(&mrot, rotation);
|
matrix_4x4_rotate_z(&mrot, rotation);
|
||||||
matrix_4x4_multiply(&mymat, &mrot, &gl->mvp_no_rot);
|
matrix_4x4_multiply(&mymat, &mrot, &gl->mvp_no_rot);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user