diff options
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/qt_sdl/main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index a3b0249..240d52e 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -490,6 +490,14 @@ void EmuThread::run() // emulate u32 nlines = NDS::RunFrame(); +#ifdef OGLRENDERER_ENABLED + // this is hacky but this is the easiest way to call + // this function without dealling with a ton of + // macro mess + if (videoRenderer == 1) + epoxy_glFlush(); +#endif + #ifdef MELONCAP MelonCap::Update(); #endif // MELONCAP |