aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libjin/Graphics/Font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjin/Graphics/Font.cpp b/libjin/Graphics/Font.cpp
index f30bc88..9d21dba 100644
--- a/libjin/Graphics/Font.cpp
+++ b/libjin/Graphics/Font.cpp
@@ -273,7 +273,7 @@ namespace graphics
{
cursor.x = 0;
cursor.y += descent;
- if (cursor.y + descent > textureHeight)
+ if (cursor.y + descent * 2 > textureHeight)
{
/* create another atlas */
createAtlas();