summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2008-10-05 18:49:55 +0000
committernakeee <nakeee@gmail.com>2008-10-05 18:49:55 +0000
commit6336af92a14a8e4e99abecfc38ad2df2e432d958 (patch)
tree0bc889bf731b04b31b97b34d0b346d480a415f31 /Source
parent407bd39d8b31a9598b75dd1ab2fd08c6697f2fe5 (diff)
add svnrev.h to linux
solves issue 93 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@780 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp14
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);
+
}