projects
/
vrfileman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pulsing grid
[vrfileman]
/
src
/
app.cc
diff --git
a/src/app.cc
b/src/app.cc
index
730302e
..
aaee8cb
100644
(file)
--- a/
src/app.cc
+++ b/
src/app.cc
@@
-12,6
+12,7
@@
int win_width, win_height;
float win_aspect;
long time_msec;
int win_width, win_height;
float win_aspect;
long time_msec;
+double time_sec;
Mat4 view_matrix;
static bool should_swap;
Mat4 view_matrix;
static bool should_swap;
@@
-128,6
+129,7
@@
void app_draw()
draw_backdrop();
app_swap_buffers();
draw_backdrop();
app_swap_buffers();
+ app_redraw(); // since we added animation we need to redisplay even in non-VR mode
}
assert(glGetError() == GL_NO_ERROR);
}
}
assert(glGetError() == GL_NO_ERROR);
}