diff options
Diffstat (limited to 'src/render/Shader.cpp')
| -rw-r--r-- | src/render/Shader.cpp | 5 |
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) { |
