diff --git a/font/tenderness.ttf b/font/tenderness.ttf index 19e59ca..2f83221 100644 Binary files a/font/tenderness.ttf and b/font/tenderness.ttf differ diff --git a/source/raylib.c b/source/raylib.c index 52904bf..aa2fcc7 100644 --- a/source/raylib.c +++ b/source/raylib.c @@ -39,14 +39,17 @@ static void no_logging (int msgType, const char * text, va_list args) { static void render_clean_up (void) { int i; - for (i = 0; i < texture_count; ++i) + for (i = 0; i < texture_count; ++i) { UnloadTexture (texture_array [i]); + } - for (i = 0; i < sound_count; ++i) + for (i = 0; i < sound_count; ++i) { UnloadSound (sound_array [i]); + } - for (i = 0; i < font_count; ++i) + for (i = 1; i < font_count; ++i) { UnloadFont (font_array [i]); + } free (texture_array); free (sound_array); @@ -116,8 +119,8 @@ void render_string (char * string, int x, int y, int colour, int font, int size, Vector2 position; - position.x = ((font == 0) ? 4 : pad) + x; - position.y = ((font == 0) ? 4 : pad) + y; + position.x = ((font == 0) ? 6 : pad) + x; + position.y = ((font == 0) ? 6 : pad) + y; new_tint.r = ((colour & 0XFF0000) >> 16) % 256; new_tint.g = ((colour & 0X00FF00) >> 8) % 256;