From 7579e03b64261abb592eabaa1c05617628e07492 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 30 Sep 2022 18:38:10 +0100 Subject: [PATCH] include shaders only in opengl.cpp --- src/render/OpenGL.cpp | 1 + src/render/OpenGL.hpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 25763786..93779156 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -1,6 +1,7 @@ #include "OpenGL.hpp" #include "../Compositor.hpp" #include "../helpers/MiscFunctions.hpp" +#include "Shaders.hpp" CHyprOpenGLImpl::CHyprOpenGLImpl() { RASSERT(eglMakeCurrent(wlr_egl_get_display(g_pCompositor->m_sWLREGL), EGL_NO_SURFACE, EGL_NO_SURFACE, wlr_egl_get_context(g_pCompositor->m_sWLREGL)), "Couldn't unset current EGL!"); diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 5d205407..30d66084 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -8,7 +8,6 @@ #include -#include "Shaders.hpp" #include "Shader.hpp" #include "Texture.hpp" #include "Framebuffer.hpp"