From c33cf08a2f059069c08fc02bc41fa57a2bea942f Mon Sep 17 00:00:00 2001 From: Sonicadvance1 Date: Mon, 21 Jul 2008 01:27:13 +0000 Subject: Linux: Fixes a few things, Should Compile in Linux. Ran Crazy Taxi horribly git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@38 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp') 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 } -- cgit v1.2.3