mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
fix issues with multi-window and OpenGL on Windows
This commit is contained in:
7
src/frontend/qt_sdl/Screen.cpp
Normal file → Executable file
7
src/frontend/qt_sdl/Screen.cpp
Normal file → Executable 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);
|
||||
|
Reference in New Issue
Block a user