diff options
| author | vaxerski <vaxry@vaxry.net> | 2025-01-02 17:50:55 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2025-01-02 17:50:55 +0100 |
| commit | 81721b8aa87b1df3c3a9c9eadafcc271178c102a (patch) | |
| tree | 89ea55211a3c88ee7e74e470d412547ea285b647 /src/render/OpenGL.hpp | |
| parent | 365caa49ff4e4f87da687adfa237b8f855aee42b (diff) | |
groupbar: unify title rendering
moves the text renderer to the unified opengl impl
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<CTexture> loadAsset(const std::string& file); - SP<CTexture> renderText(const std::string& text, CHyprColor col, int pt, bool italic = false); + SP<CTexture> renderText(const std::string& text, CHyprColor col, int pt, bool italic = false, const std::string& fontFamily = ""); void setDamage(const CRegion& damage, std::optional<CRegion> finalDamage = {}); |
