Improve information presented for current frame number in stereo mode and when swap groups are used

This commit is contained in:
Alexander Bock
2019-08-21 15:57:29 +02:00
parent 2806935c64
commit dd76a9bd7b
3 changed files with 34 additions and 3 deletions
@@ -32,6 +32,8 @@
namespace openspace {
struct WindowDelegate {
enum class Frustum { Mono, LeftEye, RightEye };
void (*terminate)() = [](){};
void (*setBarrier)(bool enabled) = [](bool) {};
@@ -121,6 +123,10 @@ struct WindowDelegate {
GLProcAddress (*openGLProcedureAddress)(const char*) =
[](const char*) -> GLProcAddress { return []() {}; };
Frustum (*frustumMode)() = []() { return Frustum::Mono; };
uint64_t (*swapGroupFrameNumber)() = []() { return uint64_t(0); };
};
} // namespace openspace