diff options
author | vaxerski <[email protected]> | 2022-07-10 11:45:50 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-07-10 11:45:50 +0200 |
commit | 06c0be5ea6e3ed6b7fe7a45a550d42bc646ad6db (patch) | |
tree | 0640af45ef6874326e7b6e44de9872642ecac172 | |
parent | 6f7377f38138af5e41f094fbae90b4f68e94d49b (diff) | |
download | Hyprland-06c0be5ea6e3ed6b7fe7a45a550d42bc646ad6db.tar.gz Hyprland-06c0be5ea6e3ed6b7fe7a45a550d42bc646ad6db.zip |
clear with 17
-rw-r--r-- | src/events/Monitors.cpp | 2 | ||||
-rw-r--r-- | src/render/OpenGL.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/events/Monitors.cpp b/src/events/Monitors.cpp index d46b02ff..7a0fb358 100644 --- a/src/events/Monitors.cpp +++ b/src/events/Monitors.cpp @@ -270,7 +270,7 @@ void Events::listener_monitorFrame(void* owner, void* data) { // potentially can save on resources. g_pHyprOpenGL->begin(PMONITOR, &damage); - g_pHyprOpenGL->clear(CColor(100, 11, 11, 255)); + g_pHyprOpenGL->clear(CColor(17, 17, 17, 255)); g_pHyprOpenGL->clearWithTex(); // will apply the hypr "wallpaper" g_pHyprRenderer->renderAllClientsForMonitor(PMONITOR->ID, &now); diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 2647a7fa..0fe7a30a 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -977,8 +977,6 @@ void CHyprOpenGLImpl::clearWithTex() { if (!*PRENDERTEX) { wlr_box box = {0, 0, m_RenderData.pMonitor->vecTransformedSize.x, m_RenderData.pMonitor->vecTransformedSize.y}; renderTexture(m_mMonitorBGTextures[m_RenderData.pMonitor], &box, 255, 0); - } else { - clear(CColor(17,17,17,255)); } } |