From 314fad27f150991211700fac9891374dd218378a Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 29 Sep 2019 18:11:38 +1000 Subject: [PATCH] SDL: Fix flickering outside of display area --- src/pse-sdl/sdl_interface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pse-sdl/sdl_interface.cpp b/src/pse-sdl/sdl_interface.cpp index dd9e73e1c..d7ec72cc8 100644 --- a/src/pse-sdl/sdl_interface.cpp +++ b/src/pse-sdl/sdl_interface.cpp @@ -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);