diff options
| author | UjinT34 <41110182+UjinT34@users.noreply.github.com> | 2026-03-07 21:21:23 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-07 18:21:23 +0000 |
| commit | 02f30ea15b349d1ed98b608ed06ec88c834592dd (patch) | |
| tree | 5148a3935c43b64f209f2b13e2a0b1bbe987444b /src/Compositor.cpp | |
| parent | b227efc8492468cc925014a6c8446a3d044b01e8 (diff) | |
renderer: refactor gl renderer (#13488)
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 400c595d..22f79103 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -32,6 +32,7 @@ #include <unordered_set> #include "debug/HyprCtl.hpp" #include "debug/crash/CrashReporter.hpp" +#include "render/GLRenderer.hpp" #include "render/ShaderLoader.hpp" #ifdef USES_SYSTEMD #include <helpers/SdDaemon.hpp> // for SdNotify @@ -658,6 +659,9 @@ void CCompositor::initManagers(eManagersInitStage stage) { Log::logger->log(Log::DEBUG, "Creating the CHyprOpenGLImpl!"); g_pHyprOpenGL = makeUnique<CHyprOpenGLImpl>(); + Log::logger->log(Log::DEBUG, "Creating the HyprRenderer!"); + g_pHyprRenderer = makeUnique<CHyprGLRenderer>(); + Log::logger->log(Log::DEBUG, "Creating the ProtocolManager!"); g_pProtocolManager = makeUnique<CProtocolManager>(); @@ -676,9 +680,6 @@ void CCompositor::initManagers(eManagersInitStage stage) { Log::logger->log(Log::DEBUG, "Creating the InputManager!"); g_pInputManager = makeUnique<CInputManager>(); - Log::logger->log(Log::DEBUG, "Creating the HyprRenderer!"); - g_pHyprRenderer = makeUnique<CHyprRenderer>(); - Log::logger->log(Log::DEBUG, "Creating the XWaylandManager!"); g_pXWaylandManager = makeUnique<CHyprXWaylandManager>(); |
