summaryrefslogtreecommitdiff
path: root/src/render/Texture.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-12-18 17:23:24 +0000
committerGitHub <noreply@github.com>2025-12-18 17:23:24 +0000
commit6175ecd4c4ba817c4620f66a75e1e11da7c7a8ca (patch)
treecf73852f1fc08b1dcee5a3a7380f914aaad9c50a /src/render/Texture.cpp
parentf88deb928a0f7dc02f427473f8c29e8f2bed14a3 (diff)
debug: move to hyprutils' logger (#12673)
Diffstat (limited to 'src/render/Texture.cpp')
-rw-r--r--src/render/Texture.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/Texture.cpp b/src/render/Texture.cpp
index 17c416c7..f1704afa 100644
--- a/src/render/Texture.cpp
+++ b/src/render/Texture.cpp
@@ -36,7 +36,7 @@ CTexture::CTexture(const SP<Aquamarine::IBuffer> buffer, bool keepDataCopy) : m_
auto shm = buffer->shm();
if (!shm.success) {
- Debug::log(ERR, "Cannot create a texture: buffer has no dmabuf or shm");
+ Log::logger->log(Log::ERR, "Cannot create a texture: buffer has no dmabuf or shm");
return;
}
@@ -51,7 +51,7 @@ CTexture::CTexture(const SP<Aquamarine::IBuffer> buffer, bool keepDataCopy) : m_
auto image = g_pHyprOpenGL->createEGLImage(buffer->dmabuf());
if (!image) {
- Debug::log(ERR, "Cannot create a texture: failed to create an EGLImage");
+ Log::logger->log(Log::ERR, "Cannot create a texture: failed to create an EGLImage");
return;
}
@@ -91,7 +91,7 @@ void CTexture::createFromShm(uint32_t drmFormat, uint8_t* pixels, uint32_t strid
void CTexture::createFromDma(const Aquamarine::SDMABUFAttrs& attrs, void* image) {
if (!g_pHyprOpenGL->m_proc.glEGLImageTargetTexture2DOES) {
- Debug::log(ERR, "Cannot create a dmabuf texture: no glEGLImageTargetTexture2DOES");
+ Log::logger->log(Log::ERR, "Cannot create a dmabuf texture: no glEGLImageTargetTexture2DOES");
return;
}