summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.cpp
diff options
context:
space:
mode:
authorPhilip Damianik <39028343+pdamianik@users.noreply.github.com>2023-09-06 21:45:37 +0200
committerGitHub <noreply@github.com>2023-09-06 21:45:37 +0200
commit8c83852704ad8d78b839bd532d73b3b9e44724b9 (patch)
tree6e750b39b0b6af35c9a0b3b1385a7925936bcecd /src/render/OpenGL.cpp
parent60c01dab01e3b58abf12c49f4a2fb224900ae401 (diff)
internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)
Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r--src/render/OpenGL.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
index 933956eb..4ab8f3a8 100644
--- a/src/render/OpenGL.cpp
+++ b/src/render/OpenGL.cpp
@@ -1868,7 +1868,7 @@ void CHyprOpenGLImpl::createBGTextureForMonitor(CMonitor* pMonitor) {
cairo_surface_destroy(CAIROSURFACE);
cairo_destroy(CAIRO);
- Debug::log(LOG, "Background created for monitor {}", pMonitor->szName.c_str());
+ Debug::log(LOG, "Background created for monitor {}", pMonitor->szName);
}
void CHyprOpenGLImpl::clearWithTex() {
@@ -1900,7 +1900,7 @@ void CHyprOpenGLImpl::destroyMonitorResources(CMonitor* pMonitor) {
g_pHyprOpenGL->m_mMonitorRenderResources.erase(pMonitor);
g_pHyprOpenGL->m_mMonitorBGTextures.erase(pMonitor);
- Debug::log(LOG, "Monitor {} -> destroyed all render data", pMonitor->szName.c_str());
+ Debug::log(LOG, "Monitor {} -> destroyed all render data", pMonitor->szName);
wlr_output_rollback(pMonitor->output);
}