aboutsummaryrefslogtreecommitdiffstats
path: root/fbiconfig.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-03-31 19:22:23 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-03-31 19:22:23 +0200
commit677fee9d0277c990e19760e1543ed07ed5115a07 (patch)
treebc847b14c279a1e6051d936afd0ee66cec00ca9b /fbiconfig.h
parent6721e3612de2c9a3f7b6f94be6599ccb0e0eaa88 (diff)
downloadfbida-677fee9d0277c990e19760e1543ed07ed5115a07.tar.gz
opengl renderer
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[];