mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
platform sdl, preliminary window resizing fixes
picodrive doesn't handle resize events, so it's not really working :-/ it however uncovered some bugs and strange behaviour, though
This commit is contained in:
parent
e48f3f2795
commit
f8aaa200cf
5 changed files with 95 additions and 35 deletions
|
@ -97,10 +97,9 @@ static void make_bg(int no_scale, int from_screen)
|
|||
pp = g_screen_ppitch;
|
||||
}
|
||||
|
||||
if (src == NULL) {
|
||||
memset(g_menubg_ptr, 0, g_menuscreen_w * g_menuscreen_h * 2);
|
||||
memset(g_menubg_ptr, 0, g_menuscreen_w * g_menuscreen_h * 2);
|
||||
if (src == NULL)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!no_scale && g_menuscreen_w / w >= 2 && g_menuscreen_h / h >= 2)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue