aboutsummaryrefslogtreecommitdiffstats
path: root/fbiconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'fbiconfig.h')
-rw-r--r--fbiconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fbiconfig.h b/fbiconfig.h
index f5e0c03..3cd5d7d 100644
--- a/fbiconfig.h
+++ b/fbiconfig.h
@@ -33,6 +33,7 @@
#define O_DEVICE O_OPTIONS, "device"
#define O_OUTPUT O_OPTIONS, "output"
+#define O_OPENGL O_OPTIONS, "opengl"
#define O_FONT O_OPTIONS, "font"
#define O_VIDEO_MODE O_OPTIONS, "video-mode"
@@ -63,6 +64,8 @@
#define GET_TIMEOUT() cfg_get_int(O_TIMEOUT, 0)
#define GET_PCD_RES() cfg_get_int(O_PCD_RES, 3)
+#define GET_OPENGL() cfg_get_bool(O_OPENGL, 0)
+
/* -------------------------------------------------------------------------- */
extern struct cfg_cmdline fbi_cmd[];