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}); }