mirror of https://github.com/PCSX2/pcsx2.git
gsdx: add also a check of m_windows to play it self.
pcsx2: add a define to print the revision number with cmake git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4560 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
4bb717bab2
commit
b51ac8d779
|
@ -8,6 +8,7 @@ endif(NOT TOP_CMAKE_WAS_SOURCED)
|
||||||
|
|
||||||
# set common flags
|
# set common flags
|
||||||
set(CommonFlags
|
set(CommonFlags
|
||||||
|
-DLINUX_PRINT_SVN_NUMBER
|
||||||
-pthread
|
-pthread
|
||||||
-fvisibility=hidden
|
-fvisibility=hidden
|
||||||
-fno-guess-branch-probability
|
-fno-guess-branch-probability
|
||||||
|
|
|
@ -154,7 +154,7 @@ void SysOutOfMemory_EmergencyResponse(uptr blocksize)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if _MSC_VER
|
#if _MSC_VER || defined(LINUX_PRINT_SVN_NUMBER)
|
||||||
# include "svnrev.h"
|
# include "svnrev.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -352,7 +352,7 @@ bool GSWnd::Create(const string& title, int w, int h)
|
||||||
|
|
||||||
m_window = SDL_CreateWindow(title.c_str(), 100, 100, w, h, SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE);
|
m_window = SDL_CreateWindow(title.c_str(), 100, 100, w, h, SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE);
|
||||||
|
|
||||||
return true;
|
return (m_window != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
Display* GSWnd::GetDisplay()
|
Display* GSWnd::GetDisplay()
|
||||||
|
|
Loading…
Reference in New Issue