(GLUI) Add back stock shader blend in glui_draw_icon function

This commit is contained in:
twinaphex 2015-10-28 16:00:30 +01:00
parent 85ff9e5418
commit 052616c675

View File

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