Skip to content

Commit

Permalink
Restore "Version" file
Browse files Browse the repository at this point in the history
  • Loading branch information
zaps166 committed May 4, 2018
1 parent 0e45232 commit 70fbf2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#define WRAPPER_VERSION "1.2.4"
3 changes: 2 additions & 1 deletion src/Wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

#include "Wrapper.h"
#include "Version"
#include <SDL2/SDL.h>
#ifdef WIN32
#include <windows.h>
Expand Down Expand Up @@ -312,7 +313,7 @@ static void initializeSDL2()
#else
extern const char binaryGameVersion;
#endif
printf("%s\n Wrapper v%s\n Game v%s\n OpenGL ", title, "1.2.4", &binaryGameVersion);
printf("%s\n Wrapper v%s\n Game v%s\n OpenGL ", title, WRAPPER_VERSION, &binaryGameVersion);
#if defined(OPENGL1X)
puts("1");
#elif defined(GLES2)
Expand Down

0 comments on commit 70fbf2e

Please sign in to comment.