summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-12 21:49:35 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-12 21:49:35 +0200
commit6911ed31762393d22793eacade1c031bf5f51fc4 (patch)
treefb20f9fb9acd79dd6ee14031e5fb173e358f10ee /src/render/OpenGL.cpp
parent9807f49fde7d1f887adc2c8180e98bd5f24ebb43 (diff)
log more in begin()
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r--src/render/OpenGL.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
index abcfbc66..8b1b130d 100644
--- a/src/render/OpenGL.cpp
+++ b/src/render/OpenGL.cpp
@@ -550,6 +550,8 @@ void CHyprOpenGLImpl::createBGTextureForMonitor(SMonitor* pMonitor) {
PTEX->allocate();
+ Debug::log(LOG, "Allocated texture for BGTex");
+
// check if wallpapers exist
if (!std::filesystem::exists("/usr/share/hyprland/wall_8K.png"))
return; // the texture will be empty, oh well. We'll clear with a solid color anyways.
@@ -579,6 +581,8 @@ void CHyprOpenGLImpl::createBGTextureForMonitor(SMonitor* pMonitor) {
cairo_surface_destroy(CAIROSURFACE);
cairo_destroy(CAIRO);
+
+ Debug::log(LOG, "Background created for monitor %s", pMonitor->szName.c_str());
}
void CHyprOpenGLImpl::clearWithTex() {