fix issues with multi-window and OpenGL on Windows

This commit is contained in:
Arisotura
2025-06-28 03:02:00 +02:00
parent 005ef9c9fc
commit ec2f7ee838
8 changed files with 102 additions and 19 deletions

7
src/frontend/qt_sdl/Screen.cpp Normal file → Executable file
View File

@ -1055,6 +1055,13 @@ void ScreenPanelGL::makeCurrentGL()
glContext->MakeCurrent();
}
void ScreenPanelGL::releaseGL()
{
if (!glContext) return;
glContext->DoneCurrent();
}
void ScreenPanelGL::osdRenderItem(OSDItem* item)
{
ScreenPanel::osdRenderItem(item);