notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e50d6e0
)
sdl: set initial pitch
author
notaz
<notasas@gmail.com>
Sun, 31 Oct 2021 14:36:36 +0000
(16:36 +0200)
committer
notaz
<notasas@gmail.com>
Sun, 31 Oct 2021 14:36:36 +0000
(16:36 +0200)
plat_sdl.c
patch
|
blob
|
blame
|
history
diff --git
a/plat_sdl.c
b/plat_sdl.c
index
ab606bb
..
db39bf2
100644
(file)
--- 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,