diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -3,9 +3,6 @@ #include "scenes/scenes.h" #include "resources/resources.h" -#ifndef BUILD_VERSION -#define BUILD_VERSION "build UNTRACKED" -#endif // BUILD_VERSION int main(void) { if (!InitSceneStack()) { @@ -36,7 +33,9 @@ int main(void) { BeginDrawing(); DrawScene(); DrawFPS(0, 0); - DrawText(BUILD_VERSION, 0, GetScreenHeight() - 20, 20, COLORSCHEME_BROWN); + #ifdef BUILD_VERSION + DrawText(BUILD_VERSION, 0, GetScreenHeight() - 20, 20, COLORSCHEME_BROWN); + #endif // BUILD_VERSION EndDrawing(); } |
