mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-12-27 23:20:10 +00:00
[client] imgui: added imgui to the client and OpenGL/EGL renderers
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
#include "common/debug.h"
|
||||
#include "common/stringutils.h"
|
||||
|
||||
#include "cimgui.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
@@ -617,3 +619,11 @@ void app_showFPS(bool showFPS)
|
||||
|
||||
g_state.lgr->on_show_fps(g_state.lgrData, showFPS);
|
||||
}
|
||||
|
||||
bool app_renderImGui(void)
|
||||
{
|
||||
igNewFrame();
|
||||
igShowDemoWindow(NULL);
|
||||
igRender();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user