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:
4db0222
)
only take wminfo from appropriate sdl driver
author
notaz
<notasas@gmail.com>
Mon, 28 Jan 2013 01:25:42 +0000
(
03:25
+0200)
committer
notaz
<notasas@gmail.com>
Mon, 28 Jan 2013 01:25:42 +0000
(
03:25
+0200)
plat_sdl.c
patch
|
blob
|
blame
|
history
diff --git
a/plat_sdl.c
b/plat_sdl.c
index
2508d1c
..
9b41299
100644
(file)
--- a/
plat_sdl.c
+++ b/
plat_sdl.c
@@
-222,8
+222,10
@@
int plat_sdl_init(void)
SDL_VERSION(&wminfo.version);
SDL_GetWMInfo(&wminfo);
+#ifdef SDL_VIDEO_DRIVER_X11
display = wminfo.info.x11.display;
window = (void *)wminfo.info.x11.window;
+#endif
ret = gl_init(display, window, &gl_quirks);
if (ret == 0) {