Merge pull request #1168 from aliaspider/master

fixes game screen sometimes not showing in combination with some shaders
This commit is contained in:
Twinaphex 2014-10-19 22:26:54 +02:00
commit ac74eda50c
3 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,7 @@ static void glui_render_background(bool force_transparency)
glBindTexture(GL_TEXTURE_2D, 0);
}
gl->shader->use(gl, GL_SHADER_STOCK_BLEND);
gl->shader->set_coords(&coords);
gl->shader->set_mvp(gl, &gl->mvp_no_rot);

View File

@ -184,6 +184,7 @@ static void lakka_draw_background(bool force_transparency)
glBindTexture(GL_TEXTURE_2D, 0);
}
gl->shader->use(gl, GL_SHADER_STOCK_BLEND);
gl->shader->set_coords(&coords);
gl->shader->set_mvp(gl, &gl->mvp_no_rot);

View File

@ -294,6 +294,7 @@ static void xmb_render_background(bool force_transparency)
glBindTexture(GL_TEXTURE_2D, 0);
}
gl->shader->use(gl, GL_SHADER_STOCK_BLEND);
gl->shader->set_coords(&coords);
gl->shader->set_mvp(gl, &gl->mvp_no_rot);