From 81721b8aa87b1df3c3a9c9eadafcc271178c102a Mon Sep 17 00:00:00 2001 From: vaxerski Date: Thu, 2 Jan 2025 17:50:55 +0100 Subject: groupbar: unify title rendering moves the text renderer to the unified opengl impl --- src/render/OpenGL.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/OpenGL.hpp') diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 95ac41be..281ee09a 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -218,7 +218,7 @@ class CHyprOpenGLImpl { void bindBackOnMain(); SP loadAsset(const std::string& file); - SP renderText(const std::string& text, CHyprColor col, int pt, bool italic = false); + SP renderText(const std::string& text, CHyprColor col, int pt, bool italic = false, const std::string& fontFamily = ""); void setDamage(const CRegion& damage, std::optional finalDamage = {}); -- cgit v1.2.3