notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sdl: set initial pitch
[libpicofe.git]
/
plat_sdl.c
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,