diff options
Diffstat (limited to 'examples/core')
| -rw-r--r-- | examples/core/core_world_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/core/core_world_screen.c b/examples/core/core_world_screen.c index 31d3653d..be1a96b9 100644 --- a/examples/core/core_world_screen.c +++ b/examples/core/core_world_screen.c @@ -62,8 +62,8 @@ int main(void) EndMode3D(); - DrawText("Enemy: 100 / 100", cubeScreenPosition.x - MeasureText("Enemy: 100 / 100", 20) / 2, cubeScreenPosition.y, 20, BLACK); - DrawText("Text is always on top of the cube", (screenWidth - MeasureText("Text is always on top of the cube", 20)) / 2, 25, 20, GRAY); + DrawText("Enemy: 100 / 100", cubeScreenPosition.x - MeasureText("Enemy: 100/100", 20)/2, cubeScreenPosition.y, 20, BLACK); + DrawText("Text is always on top of the cube", (screenWidth - MeasureText("Text is always on top of the cube", 20))/2, 25, 20, GRAY); EndDrawing(); //---------------------------------------------------------------------------------- |
