Browse Source

Example tweak

pull/577/head
Ray 7 years ago
parent
commit
5774d31893
2 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/text/text_ttf_loading.c
  2. BIN
      examples/text/text_ttf_loading.png

+ 1
- 1
examples/text/text_ttf_loading.c View File

@ -32,7 +32,7 @@ int main()
GenTextureMipmaps(&font.texture); GenTextureMipmaps(&font.texture);
float fontSize = font.baseSize; float fontSize = font.baseSize;
Vector2 fontPosition = { 40, screenHeight/2 - 50 };
Vector2 fontPosition = { 40, screenHeight/2 - 80 };
Vector2 textSize; Vector2 textSize;
SetTextureFilter(font.texture, FILTER_POINT); SetTextureFilter(font.texture, FILTER_POINT);

BIN
examples/text/text_ttf_loading.png View File

Before After
Width: 800  |  Height: 450  |  Size: 54 KiB Width: 800  |  Height: 450  |  Size: 54 KiB

Loading…
Cancel
Save