small fixes to make it work with demo project

This commit is contained in:
2026-01-18 00:47:11 +01:00
parent 8ca2e4942f
commit 5a550880ff
17 changed files with 37 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
#include "OpenGLRenderingBackend.hpp"
#include "GL/gl3w.h"
#include "GLFW/glfw3.h"
#include "GL/gl.h"
#include "OpenGLRenderingBackend.hpp"
#include "GLFW/glfw3.h"
#include "WindowGlfw.hpp"
#include "Debug.hpp"
#include "imgui/imgui.h"
@@ -80,11 +80,12 @@ bool TSE::GLFW::OpenGLRenderingBackend::InitPostWindow()
return true;
}
std::string imguiIniPath;
bool TSE::GLFW::OpenGLRenderingBackend::InitEnd()
{
if(useseImGui)
{
string imguiIniPath;
GetAppDataPath(imguiIniPath);
imguiIniPath += "/UI.cfg";
IMGUI_CHECKVERSION();