From 198fc90df5079f90a647a730f54bcae441fc363c Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 18 May 2022 20:33:54 +0200 Subject: What the fuck is going on with git, fix the entire scaling merge This reverts commit 5b15d3b4f43e816b8ff9feefb2e331beebe7e0e1. --- src/render/OpenGL.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/render/OpenGL.hpp') diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 4209d9ac..b3aa5968 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -50,7 +50,7 @@ public: CHyprOpenGLImpl(); - void begin(SMonitor*, pixman_region32_t*); + void begin(SMonitor*, pixman_region32_t*, bool fake = false); void end(); void renderRect(wlr_box*, const CColor&, int round = 0); @@ -92,6 +92,8 @@ private: int m_iDRMFD; std::string m_szExtensions; + bool m_bFakeFrame = false; + // Shaders SQuad m_shQUAD; CShader m_shRGBA; -- cgit v1.2.3