From c68e8ee8ef49f67c24dd61cf2ead97c807ceeca2 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Sat, 15 Oct 2022 19:13:56 +0200 Subject: [PATCH] disable stencil test while drawing framebuffers --- src/frontend/qt_sdl/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index 79a15771..db517c0b 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -870,6 +870,7 @@ void EmuThread::drawScreenGL() glDepthMask(false); glDisable(GL_BLEND); glDisable(GL_SCISSOR_TEST); + glDisable(GL_STENCIL_TEST); glClear(GL_COLOR_BUFFER_BIT); glViewport(0, 0, w, h);