fallback ton non-srgb when window creation fails
[vrfileman] / src / app.h
index aecf645..c3d5f03 100644 (file)
--- a/src/app.h
+++ b/src/app.h
@@ -2,10 +2,12 @@
 #define APP_H_
 
 #include "gmath/gmath.h"
+#include "opt.h"
 
 extern int win_width, win_height;
 extern float win_aspect;
 extern long time_msec;
+extern double time_sec;
 
 extern Mat4 view_matrix;
 
@@ -21,7 +23,7 @@ void app_mouse_motion(int x, int y);
 
 // the following functions are implemented by the window system backend
 void app_resize(int x, int y);
-void app_fullscreen(int fs);
+void app_fullscreen(bool fs);
 void app_quit();
 void app_redraw();
 void app_swap_buffers();