mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 07:05:58 +01:00
parent
88e9e03945
commit
e3882b23d0
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ bool CScreencopyFrame::copyShm() {
|
|||
#ifndef GLES2
|
||||
glBindFramebuffer(GL_READ_FRAMEBUFFER, fb.getFBID());
|
||||
#else
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, fb.m_iFb);
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, fb.getFBID());
|
||||
#endif
|
||||
|
||||
const auto PFORMAT = FormatUtils::getPixelFormatFromDRM(shm.format);
|
||||
|
|
Loading…
Reference in a new issue