summaryrefslogtreecommitdiff
path: root/src/render/Shader.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-03-20 13:52:37 -0400
committerGitHub <noreply@github.com>2026-03-20 17:52:37 +0000
commit8726a7363eb9213235e6e23657668e0daac39a5b (patch)
tree42eeb40f6f81a9ccec1455f308e56173e9dcce4b /src/render/Shader.cpp
parentb940b0d2c197841b0f648598ee782dbaf9e0a89b (diff)
config: cleanup the entire config infrastructure (#13785)
Massively refactors the config infrastructure, sorely needed and will be req'd for the lua stuff
Diffstat (limited to 'src/render/Shader.cpp')
-rw-r--r--src/render/Shader.cpp5
1 files changed, 3 insertions, 2 deletions
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) {