Browse Source

Update text_raylib_fonts.c

pull/1673/head
Ray 3 years ago
parent
commit
71fe0bff95
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/text/text_raylib_fonts.c

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

@ -52,7 +52,7 @@ int main(void)
for (int i = 0; i < MAX_FONTS; i++) for (int i = 0; i < MAX_FONTS; i++)
{ {
positions[i].x = screenWidth/i">2 - MeasureTextEx(fonts[i], messages[i], fonts[i].baseSize*2.0f, spacings[i]).x/2.0f;
positions[i].x = screenWidth/f">2.0f - MeasureTextEx(fonts[i], messages[i], fonts[i].baseSize*2.0f, spacings[i]).x/2.0f;
positions[i].y = 60 + fonts[i].baseSize + 45*i; positions[i].y = 60 + fonts[i].baseSize + 45*i;
} }

Loading…
Cancel
Save