fallback ton non-srgb when window creation fails
[vrfileman] / src / opt.h
index c0bb5f6..8f7d964 100644 (file)
--- a/src/opt.h
+++ b/src/opt.h
@@ -2,12 +2,14 @@
 #define OPT_H_
 
 struct Options {
+       int width, height;
        bool vr;
        bool srgb;
        bool fullscreen;
+       const char *path;
 };
 
-extern Options opt;
+extern Options opt, def_opt;
 
 bool init_options(int argc, char **argv, const char *cfgfile);