diff options
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp b/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp index 9c48b57d1f..b5444dce7d 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp @@ -17,8 +17,9 @@ #include "Globals.h"
#include "IniFile.h"
-#if defined(_WIN32)
#include "svnrev.h"
+
+#if defined(_WIN32)
#include "OS/Win32.h"
#endif
#include "GLInit.h"
@@ -101,16 +102,13 @@ BOOL Callback_PeekMessages() void UpdateFPSDisplay(const char *text)
{
+ char temp[512];
+ sprintf(temp, "SVN R%s: GL: %s", SVN_REV_STR, text);
#if defined(_WIN32)
- char temp[512];
- sprintf(temp, "SVN R%i: GL: %s", SVN_REV, text);
SetWindowText(EmuWindow::GetWnd(), temp);
- OpenGL_SetWindowText(temp);
-#else
- char temp[512];
- sprintf(temp, "SVN %s: GL: %s", "Linux", text); //TODO: Set to svn rev //
- OpenGL_SetWindowText(temp);
#endif
+ OpenGL_SetWindowText(temp);
+
}
|
