mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 10:54:01 +02:00
- added verticle synch option, to enable use:
EnableVSynch=true
This commit is contained in:
@@ -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; }
|
||||
|
Reference in New Issue
Block a user