summaryrefslogtreecommitdiff
path: root/src/render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.cpp')
-rw-r--r--src/render.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render.cpp b/src/render.cpp
index 69e2d6c..5a03e94 100644
--- a/src/render.cpp
+++ b/src/render.cpp
@@ -382,6 +382,11 @@ void state_t::render_text(v2f_t x, float height, std::string str,
offset = v2f_t(0, 0);
break;
+ case ALIGN_LEFT_BOTTOM:
+ offset[0] = 0.0f;
+ offset[1] = -rect.height;
+ break;
+
case ALIGN_CENTER_BOTTOM:
offset[0] = -rect.width / 2;
offset[1] = -rect.height;