mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-05 04:35:43 -04:00
GPU/OpenGL: Fix incorrect framebuffer clear for interlacing
This commit is contained in:
parent
6c5f35361c
commit
e1c29510f1
@ -588,7 +588,7 @@ void GPU_HW_OpenGL::ClearDisplay()
|
|||||||
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
|
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
glEnable(GL_SCISSOR_TEST);
|
glEnable(GL_SCISSOR_TEST);
|
||||||
m_vram_texture.BindFramebuffer(GL_DRAW_FRAMEBUFFER);
|
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, m_vram_fbo_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPU_HW_OpenGL::UpdateDisplay()
|
void GPU_HW_OpenGL::UpdateDisplay()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user