From e3882b23d09aad7f5c3a708536c87b062f3b0d8d Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 5 Nov 2024 09:59:03 +0000 Subject: [PATCH] screencopy: fix build with legacyrenderer fixes #8355 --- src/protocols/Screencopy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/Screencopy.cpp b/src/protocols/Screencopy.cpp index 1fcaff05..a7e515cb 100644 --- a/src/protocols/Screencopy.cpp +++ b/src/protocols/Screencopy.cpp @@ -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);