From: notaz Date: Sun, 31 Oct 2021 14:36:36 +0000 (+0200) Subject: sdl: set initial pitch X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39639dd1daaecf2707c6c40b425da242553a2de3;hp=e50d6e0656e2a31d45ddc52c13b3da6738e93a17;p=libpicofe.git sdl: set initial pitch --- diff --git a/plat_sdl.c b/plat_sdl.c index ab606bb..db39bf2 100644 --- a/plat_sdl.c +++ b/plat_sdl.c @@ -231,6 +231,7 @@ int plat_sdl_init(void) } g_menuscreen_w = window_w = plat_sdl_screen->w; g_menuscreen_h = window_h = plat_sdl_screen->h; + g_menuscreen_pp = g_menuscreen_w; // overlay/gl require native bpp in some cases.. plat_sdl_screen = SDL_SetVideoMode(g_menuscreen_w, g_menuscreen_h,