[client] imgui: added imgui to the client and OpenGL/EGL renderers

This commit is contained in:
Geoffrey McRae
2021-07-08 11:45:54 +10:00
parent c9d469fb91
commit f08163fd72
10 changed files with 102 additions and 4 deletions

View File

@@ -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;
}