mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-30 02:49:41 -06:00
de-hardcode the GL renderer.
init framebuffer to black. fix bugs.
This commit is contained in:
@ -642,6 +642,7 @@ void OnAreaDraw(uiAreaHandler* handler, uiArea* area, uiAreaDrawParams* params)
|
||||
}
|
||||
|
||||
if (!ScreenBitmap[0] || !ScreenBitmap[1]) return;
|
||||
if (!GPU::Framebuffer[0][0]) return;
|
||||
|
||||
uiRect top = {0, 0, 256*ScreenScale, 192*ScreenScale};
|
||||
uiRect bot = {0, 0, 256*ScreenScale, 192*ScreenScale};
|
||||
|
Reference in New Issue
Block a user