diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-12-01 17:20:56 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-12-01 17:20:56 +0000 |
| commit | 9c09f2a847a1372c73cf67dc9e7e9ebe309b142e (patch) | |
| tree | 5f8b5ed8b1bd9c1cf23155ffbfded231983cd21e /src/render/OpenGL.hpp | |
| parent | 8440a30231ea41a6b1dacc60a28837b265a6efec (diff) | |
screencopy: fix shm exports with 10-bit
fixes #4019
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index f4661e1a..2830870b 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -158,6 +158,8 @@ class CHyprOpenGLImpl { void renderOffToMain(CFramebuffer* off); void bindBackOnMain(); + uint32_t getPreferredReadFormat(CMonitor* pMonitor); + SCurrentRenderData m_RenderData; GLint m_iCurrentOutputFb = 0; |
