summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/font.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/font.cpp b/ui/font.cpp
index 305e0f3..f610a1b 100644
--- a/ui/font.cpp
+++ b/ui/font.cpp
@@ -77,6 +77,7 @@ Font::generateChars(const utf8_string_view chars) const
if (charsData.find(codepoint) == charsData.end()) {
if (!ft) {
ft.emplace();
+ glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
}
if (!face) {
face.emplace(*ft, path.c_str());