From 92bbaa7fbd2da52fd74de5fc470237265a3a3179 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 18 Sep 2018 20:40:21 +0800 Subject: *egg --- libjin/Graphics/Font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.1-26-g67d0