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 1dc6581..98c12a2 100644
--- a/src/render.cpp
+++ b/src/render.cpp
@@ -385,6 +385,11 @@ void state_t::render_text(v2f_t x, float height, std::string str,
offset[0] = -rect.width / 2;
offset[1] = -rect.height;
break;
+
+ case ALIGN_RIGHT_BOTTOM:
+ offset[0] = -rect.width;
+ offset[1] = -rect.height;
+ break;
}
offset *= scale;