mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
gl: Disable depth test before rendering text to the backbuffer which does have a Z buffer
This commit is contained in:
parent
721883f64e
commit
8228a4adcd
2 changed files with 4 additions and 1 deletions
|
|
@ -292,6 +292,9 @@ void GLGSRender::flip(const rsx::display_flip_info_t& info)
|
|||
|
||||
if (g_cfg.video.overlay)
|
||||
{
|
||||
// Disable depth test
|
||||
gl_state.depth_func(GL_ALWAYS);
|
||||
|
||||
gl::screen.bind();
|
||||
glViewport(0, 0, m_frame->client_width(), m_frame->client_height());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue