add todo
This commit is contained in:
parent
cbf3651452
commit
9b1046667d
1 changed files with 1 additions and 0 deletions
|
@ -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});
|
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},
|
gl4dpCopyFromSDLSurfaceWithTransforms(surface, (GLfloat[2]){.3, -.1},
|
||||||
(GLfloat[2]){x, y});
|
(GLfloat[2]){x, y});
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue