summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-06 17:58:56 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-06 18:04:30 +0000
commitf755351511a44f6477ac36b6d9ae2cc3164f163d (patch)
tree7746e8591b34609c39941d91943e6aa13832d326 /src/render/OpenGL.hpp
parent57817f7252e3acbe48620b6764a77fecb6bb0ec1 (diff)
Fix resize transitions on multimon + transformed
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index dbc2977c..7e8fccde 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -12,6 +12,8 @@
#include "Texture.hpp"
#include "Framebuffer.hpp"
+class CHyprRenderer;
+
inline const float fullVerts[] = {
1, 0, // top right
0, 0, // top left
@@ -144,6 +146,8 @@ private:
void renderSplash(cairo_t *const, cairo_surface_t *const, double);
void preBlurForCurrentMonitor();
+
+ friend class CHyprRenderer;
};
inline std::unique_ptr<CHyprOpenGLImpl> g_pHyprOpenGL;