diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-18 20:33:54 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-18 20:33:54 +0200 |
| commit | 198fc90df5079f90a647a730f54bcae441fc363c (patch) | |
| tree | 47a3f623059df321f3c52d785fc8635597af2ca9 /src/render/OpenGL.hpp | |
| parent | 5454cf8e89b99032d2e72f7993fa900783a35e74 (diff) | |
What the fuck is going on with git, fix the entire scaling merge
This reverts commit 5b15d3b4f43e816b8ff9feefb2e331beebe7e0e1.
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
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; |
