summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.cpp
diff options
context:
space:
mode:
authorMihai Fufezan <fufexan@protonmail.com>2024-07-16 22:23:37 +0300
committerGitHub <noreply@github.com>2024-07-16 21:23:37 +0200
commitda956c8a979471282db6790f5fa5dcec320ec226 (patch)
tree36fcb6c4b7bcc4be68e69bf609ca86a8b51f6dd6 /src/render/OpenGL.cpp
parentbd526822deb9ed47c0b51b534817aa8541fff07b (diff)
config: use hyprutils helper (#6891)
* flake.lock: update nix/overlays: remove xwayland overlay (merged upstream) * config: use hyprutils helper * flake.lock: update * CMake & Meson: update required versions
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r--src/render/OpenGL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
index cb3d2e71..8229e210 100644
--- a/src/render/OpenGL.cpp
+++ b/src/render/OpenGL.cpp
@@ -842,7 +842,7 @@ void CHyprOpenGLImpl::applyScreenShader(const std::string& path) {
if (path == "" || path == STRVAL_EMPTY)
return;
- std::ifstream infile(absolutePath(path, g_pConfigManager->getConfigDir()));
+ std::ifstream infile(absolutePath(path, g_pConfigManager->getMainConfigPath()));
if (!infile.good()) {
g_pConfigManager->addParseError("Screen shader parser: Screen shader path not found");