From 9b1046667d6021520d51a23c1011317f1442e058 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 15 Nov 2022 14:58:49 +0100 Subject: [PATCH] add todo --- src/text.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/text.c b/src/text.c index c3348d9..ea3d1be 100644 --- a/src/text.c +++ b/src/text.c @@ -15,6 +15,7 @@ void write_text(GLfloat x, GLfloat y, char *text) { surface = TTF_RenderText_Solid(font, text, (SDL_Color){255, 255, 255, 255}); + // TODO: Make scale depend of the text length gl4dpCopyFromSDLSurfaceWithTransforms(surface, (GLfloat[2]){.3, -.1}, (GLfloat[2]){x, y}); }