mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 10:20:21 +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);
|
||||
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_multiply(&mymat, &mrot, &gl->mvp_no_rot);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user