diff options
Diffstat (limited to 'src/protocols')
| -rw-r--r-- | src/protocols/Screencopy.cpp | 1 | ||||
| -rw-r--r-- | src/protocols/ToplevelExport.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/Screencopy.cpp b/src/protocols/Screencopy.cpp index d66c5342..ac7146b4 100644 --- a/src/protocols/Screencopy.cpp +++ b/src/protocols/Screencopy.cpp @@ -425,6 +425,7 @@ bool CScreencopyFrame::copyShm() { } } + glPixelStorei(GL_PACK_ALIGNMENT, 4); g_pHyprOpenGL->m_renderData.pMonitor.reset(); glBindFramebuffer(GL_READ_FRAMEBUFFER, 0); diff --git a/src/protocols/ToplevelExport.cpp b/src/protocols/ToplevelExport.cpp index 7549425c..7b7c0a31 100644 --- a/src/protocols/ToplevelExport.cpp +++ b/src/protocols/ToplevelExport.cpp @@ -334,6 +334,7 @@ bool CToplevelExportFrame::copyShm(const Time::steady_tp& now) { } outFB.unbind(); + glPixelStorei(GL_PACK_ALIGNMENT, 4); glBindFramebuffer(GL_READ_FRAMEBUFFER, 0); return true; |
