mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
call glFlush only once
that seems to atleast get rid of the flicker the weird issue that clears don't work is still there
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user