summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp b/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp
index 9001af9632..2da93652e9 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp
@@ -16,8 +16,8 @@
// http://code.google.com/p/dolphin-emu/
#include "Globals.h"
-#include "svnrev.h"
#ifdef _WIN32
+#include "svnrev.h"
#include "EmuWindow.h"
#endif
#include "GLInit.h"
@@ -82,10 +82,14 @@ BOOL Callback_PeekMessages()
void UpdateFPSDisplay(const char *text)
{
+#ifdef _WIN32
char temp[512];
sprintf(temp, "SVN R%i: %s", SVN_REV, text);
SetWindowText(EmuWindow::GetWnd(), temp);
OpenGL_SetWindowText(temp);
+#else
+ //TODO
+#endif
}