Somehow the last commit only included the changes to hpp, not to cpp, this PR adapts the draw function signature as in that commit. Not sure if other changes are required. It builds at least, except hyprexpo:
overview.cpp: In member function 'void COverview::render()':
overview.cpp:403:91: error: 'Hyprutils::Memory::CSharedPointer<CTexture> CFramebuffer::m_cTex' is private within this context
403 | g_pHyprOpenGL->renderTextureInternalWithDamage(images[x + y * SIDE_LENGTH].fb.m_cTex, &texbox, 1.0, &damage);
| ^~~~~~
/usr/include/hyprland/src/render/Framebuffer.hpp:24:18: note: declared private here
24 | SP<CTexture> m_cTex;
| ^~~~~~
Somehow the last commit only included the changes to hpp, not to cpp, this PR adapts the
draw
function signature as in that commit. Not sure if other changes are required. It builds at least, except hyprexpo:The second commit also fixes that (for https://github.com/hyprwm/Hyprland/commit/40081cb330fa838ad9c0a7b87c20b2300ea7fb38)