mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-27 02:06:00 +01:00
log more in begin()
This commit is contained in:
parent
9807f49fde
commit
6911ed3176
1 changed files with 4 additions and 0 deletions
|
@ -550,6 +550,8 @@ void CHyprOpenGLImpl::createBGTextureForMonitor(SMonitor* pMonitor) {
|
||||||
|
|
||||||
PTEX->allocate();
|
PTEX->allocate();
|
||||||
|
|
||||||
|
Debug::log(LOG, "Allocated texture for BGTex");
|
||||||
|
|
||||||
// check if wallpapers exist
|
// check if wallpapers exist
|
||||||
if (!std::filesystem::exists("/usr/share/hyprland/wall_8K.png"))
|
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.
|
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_surface_destroy(CAIROSURFACE);
|
||||||
cairo_destroy(CAIRO);
|
cairo_destroy(CAIRO);
|
||||||
|
|
||||||
|
Debug::log(LOG, "Background created for monitor %s", pMonitor->szName.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
void CHyprOpenGLImpl::clearWithTex() {
|
void CHyprOpenGLImpl::clearWithTex() {
|
||||||
|
|
Loading…
Reference in a new issue