- added verticle synch option, to enable use:

EnableVSynch=true
This commit is contained in:
Mark Vejvoda
2011-04-14 05:02:32 +00:00
parent a04557ee7f
commit ea90bd0715
3 changed files with 19 additions and 0 deletions

View File

@@ -133,6 +133,7 @@ private:
static bool isKeyPressedDown;
static bool isFullScreen;
static SDL_keysym keystate;
static bool tryVSynch;
static void setLastMouseEvent(int64 lastMouseEvent) {Window::lastMouseEvent = lastMouseEvent;}
static int64 getLastMouseEvent() {return Window::lastMouseEvent;}
@@ -164,6 +165,9 @@ public:
Window();
virtual ~Window();
static bool getTryVSynch() { return tryVSynch; }
static void setTryVSynch(bool value) { tryVSynch = value; }
WindowHandle getHandle() {return 0;}
string getText();
int getX() { return 0; }