summaryrefslogtreecommitdiffstats
path: root/minui/graphics.c
diff options
context:
space:
mode:
authorVojtech Bocek <vbocek@gmail.com>2013-09-06 21:32:22 +0200
committerVojtech Bocek <vbocek@gmail.com>2013-09-06 21:32:22 +0200
commit65fdcddec6c616bf0e1d3ee39bca242c05094410 (patch)
tree40b863d30592629f28301ac3f3f53a8efe6cceca /minui/graphics.c
parentMerge "Add more args to make_ext4fs command" into twrp2.7 (diff)
downloadandroid_bootable_recovery-65fdcddec6c616bf0e1d3ee39bca242c05094410.tar
android_bootable_recovery-65fdcddec6c616bf0e1d3ee39bca242c05094410.tar.gz
android_bootable_recovery-65fdcddec6c616bf0e1d3ee39bca242c05094410.tar.bz2
android_bootable_recovery-65fdcddec6c616bf0e1d3ee39bca242c05094410.tar.lz
android_bootable_recovery-65fdcddec6c616bf0e1d3ee39bca242c05094410.tar.xz
android_bootable_recovery-65fdcddec6c616bf0e1d3ee39bca242c05094410.tar.zst
android_bootable_recovery-65fdcddec6c616bf0e1d3ee39bca242c05094410.zip
Diffstat (limited to 'minui/graphics.c')
-rw-r--r--minui/graphics.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/minui/graphics.c b/minui/graphics.c
index 4968eac7a..9ee77b3aa 100644
--- a/minui/graphics.c
+++ b/minui/graphics.c
@@ -223,7 +223,12 @@ void gr_font_size(int *x, int *y)
*y = gr_font->cheight;
}
-int gr_text(int x, int y, const char *s, int bold)
+int gr_text(int x, int y, const char *s, ...)
+{
+ return gr_text_impl(x, y, s, 0);
+}
+
+int gr_text_impl(int x, int y, const char *s, int bold)
{
GGLContext *gl = gr_context;
GRFont *font = gr_font;