mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 08:35:42 -04:00
SDL: Fix flickering outside of display area
This commit is contained in:
parent
e8fc05fef5
commit
314fad27f1
@ -379,6 +379,7 @@ bool SDLInterface::PassEventToImGui(const SDL_Event* event)
|
||||
void SDLInterface::Render()
|
||||
{
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||
glDisable(GL_SCISSOR_TEST);
|
||||
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user