mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-19 05:53:48 -07:00
@@ -255,7 +255,7 @@ bool CScreencopyFrame::copyShm() {
|
|||||||
#ifndef GLES2
|
#ifndef GLES2
|
||||||
glBindFramebuffer(GL_READ_FRAMEBUFFER, fb.getFBID());
|
glBindFramebuffer(GL_READ_FRAMEBUFFER, fb.getFBID());
|
||||||
#else
|
#else
|
||||||
glBindFramebuffer(GL_FRAMEBUFFER, fb.m_iFb);
|
glBindFramebuffer(GL_FRAMEBUFFER, fb.getFBID());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const auto PFORMAT = FormatUtils::getPixelFormatFromDRM(shm.format);
|
const auto PFORMAT = FormatUtils::getPixelFormatFromDRM(shm.format);
|
||||||
|
Reference in New Issue
Block a user