summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-11-01 10:50:42 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-11-01 10:50:42 +0000
commitc2c435686f5b6c1152daf370fb1dcb98f7d789e2 (patch)
tree0137f7ff34dd3e3a94238fb2a2d426ca9e93f4c4 /src
parent052cdbd8fce689b64371da82409bfd4e0f189f45 (diff)
downloadmana-c2c435686f5b6c1152daf370fb1dcb98f7d789e2.tar.gz
mana-c2c435686f5b6c1152daf370fb1dcb98f7d789e2.tar.bz2
mana-c2c435686f5b6c1152daf370fb1dcb98f7d789e2.tar.xz
mana-c2c435686f5b6c1152daf370fb1dcb98f7d789e2.zip
Merged revisions 4130 via svnmerge from
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r4130 | the_enemy | 2008-04-18 22:39:29 +0200 (Fri, 18 Apr 2008) | 3 lines Mac now uses Apple key for emoticons, so alt can be used for alternate characters. Disable vsync on mac. ........
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp6
-rw-r--r--src/openglgraphics.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 6c370d83..6ae1a0f4 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -661,11 +661,11 @@ void Game::handleInput()
// Keys pressed together with Alt/Meta
// Emotions and some internal gui windows
- #ifndef __APPLE__
+#ifndef __APPLE__
if (event.key.keysym.mod & KMOD_LALT)
- #else
+#else
if (event.key.keysym.mod & KMOD_LMETA)
- #endif
+#endif
{
switch (event.key.keysym.sym)
{
diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp
index 76efe380..b6a4e7d8 100644
--- a/src/openglgraphics.cpp
+++ b/src/openglgraphics.cpp
@@ -76,8 +76,8 @@ bool OpenGLGraphics::setVideoMode(int w, int h, int bpp, bool fs, bool hwaccel)
}
#ifdef __APPLE__
- const GLint VBL = 1;
- CGLSetParameter(CGLGetCurrentContext(), kCGLCPSwapInterval, &VBL);
+ //const GLint VBL = 1;
+ //CGLSetParameter(CGLGetCurrentContext(), kCGLCPSwapInterval, &VBL);
#endif
// Setup OpenGL