From 966f20d305345b3042dc1d37a1dd8833f3a4783b Mon Sep 17 00:00:00 2001 From: UjinT34 <41110182+UjinT34@users.noreply.github.com> Date: Sat, 7 Mar 2026 16:13:34 +0300 Subject: renderer: refactor resources and flags (#13471) --- src/protocols/LinuxDMABUF.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/protocols/LinuxDMABUF.cpp') diff --git a/src/protocols/LinuxDMABUF.cpp b/src/protocols/LinuxDMABUF.cpp index f16c8c56..0a395a1f 100644 --- a/src/protocols/LinuxDMABUF.cpp +++ b/src/protocols/LinuxDMABUF.cpp @@ -8,6 +8,7 @@ #include #include #include "core/Compositor.hpp" +#include "render/Renderer.hpp" #include "types/DMABuffer.hpp" #include "types/WLBuffer.hpp" #include "../render/OpenGL.hpp" @@ -449,7 +450,7 @@ CLinuxDMABufV1Protocol::CLinuxDMABufV1Protocol(const wl_interface* iface, const SDMABUFTranche eglTranche = { .device = m_mainDevice, .flags = 0, // renderer isn't for ds so don't set flag. - .formats = g_pHyprOpenGL->getDRMFormats(), + .formats = g_pHyprRenderer->getDRMFormats(), }; std::vector> tches; -- cgit v1.2.3