From 8726a7363eb9213235e6e23657668e0daac39a5b Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Fri, 20 Mar 2026 13:52:37 -0400 Subject: config: cleanup the entire config infrastructure (#13785) Massively refactors the config infrastructure, sorely needed and will be req'd for the lua stuff --- src/render/Shader.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/render/Shader.cpp') diff --git a/src/render/Shader.cpp b/src/render/Shader.cpp index d73e69d6..ed272fcd 100644 --- a/src/render/Shader.cpp +++ b/src/render/Shader.cpp @@ -1,5 +1,6 @@ #include "Shader.hpp" -#include "../config/ConfigManager.hpp" +#include "../hyprerror/HyprError.hpp" +#include "../config/ConfigValue.hpp" #include "OpenGL.hpp" #define EPSILON(x, y) (std::abs((x) - (y)) < 1e-5f) @@ -42,7 +43,7 @@ void CShader::logShaderError(const GLuint& shader, bool program, bool silent) { Log::logger->log(Log::ERR, "Failed to link shader: {}", FULLERROR); if (!silent) - g_pConfigManager->addParseError(FULLERROR); + g_pHyprError->queueError(FULLERROR); } GLuint CShader::compileShader(const GLuint& type, std::string src, bool dynamic, bool silent) { -- cgit v1.2.3