diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-18 13:16:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-18 13:16:32 +0200 |
| commit | f68ddc382a2b009dc19491277f6328addcdb8336 (patch) | |
| tree | 81d0fd4a54d5891558b62969ba3b41853dd761ff /src/render/OpenGL.hpp | |
| parent | ba573a529afdbf368aa632cf70b41c9a0595578b (diff) | |
| parent | 6c437763f65489b7c720c56d2f2f69781a39e497 (diff) | |
Merge pull request #88 from vaxerski/scaling
Fixed scaling
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; |
