diff options
Diffstat (limited to 'src/rtext.c')
| -rw-r--r-- | src/rtext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtext.c b/src/rtext.c index 0a8af79e..8c536633 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -1092,7 +1092,7 @@ void DrawTextCodepoint(Font font, int codepoint, Vector2 position, float fontSiz } // Draw multiple character (codepoints) -void DrawTextCodepoints(Font font, int *codepoints, int count, Vector2 position, float fontSize, float spacing, Color tint) +void DrawTextCodepoints(Font font, const int *codepoints, int count, Vector2 position, float fontSize, float spacing, Color tint) { int textOffsetY = 0; // Offset between lines (on line break '\n') float textOffsetX = 0.0f; // Offset X to next character to draw @@ -1605,7 +1605,7 @@ const char *TextToPascal(const char *text) // Encode text codepoint into UTF-8 text // REQUIRES: memcpy() // WARNING: Allocated memory should be manually freed -char *TextCodepointsToUTF8(int *codepoints, int length) +char *TextCodepointsToUTF8(const int *codepoints, int length) { // We allocate enough memory fo fit all possible codepoints // NOTE: 5 bytes for every codepoint should be enough |
