|
|
|
@ -66,7 +66,7 @@
|
|
|
|
|
|
|
|
|
|
#include <spdlog/spdlog.h>
|
|
|
|
|
#include <imgui.h>
|
|
|
|
|
#include "imgui_impl_opengl3.h"
|
|
|
|
|
#include "gl_renderer.h"
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdint.h> // intptr_t
|
|
|
|
|
#include <sstream>
|
|
|
|
@ -447,7 +447,7 @@ bool ImGui_ImplOpenGL3_Init(const char* glsl_version)
|
|
|
|
|
|
|
|
|
|
// Setup back-end capabilities flags
|
|
|
|
|
ImGuiIO& io = ImGui::GetIO();
|
|
|
|
|
io.BackendRendererName = "imgui_impl_opengl3";
|
|
|
|
|
io.BackendRendererName = "mangohud_opengl3";
|
|
|
|
|
//#if IMGUI_IMPL_OPENGL_MAY_HAVE_VTX_OFFSET
|
|
|
|
|
if (g_GlVersion >= 320) // GL/GLES 3.2+
|
|
|
|
|
io.BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset; // We can honor the ImDrawCmd::VtxOffset field, allowing for large meshes.
|