From 39639dd1daaecf2707c6c40b425da242553a2de3 Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 31 Oct 2021 16:36:36 +0200 Subject: [PATCH] sdl: set initial pitch --- plat_sdl.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.5