Add build option to show the Dear Imgui demo window in the headset for debugging
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "xr/hand_tracker.h"
|
||||
#include "xr/swapchain.h"
|
||||
#include "wivrn_config.h"
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <imgui.h>
|
||||
@@ -135,6 +136,10 @@ private:
|
||||
ImVector<ImWchar> glyph_ranges;
|
||||
bool glyph_range_dirty = true;
|
||||
|
||||
#if WIVRN_SHOW_IMGUI_DEMO_WINDOW
|
||||
bool show_demo_window = true;
|
||||
#endif
|
||||
|
||||
void initialize_fonts();
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user