notaz.gp2x.de
/
sdl_omap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add OMAP layer handling
[sdl_omap.git]
/
src
/
video
/
omapdss
/
config.c
diff --git
a/src/video/omapdss/config.c
b/src/video/omapdss/config.c
index
52809d6
..
b829847
100644
(file)
--- a/
src/video/omapdss/config.c
+++ b/
src/video/omapdss/config.c
@@
-96,4
+96,12
@@
bad:
fclose(f);
}
+void omapsdl_config_from_env(void)
+{
+ const char *tmp;
+
+ tmp = getenv("SDL_OMAP_VSYNC");
+ if (tmp != NULL)
+ gcfg_force_vsync = atoi(tmp);
+}