summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/game.cpp6
-rw-r--r--src/openglgraphics.cpp4
3 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 307bca84..63f76507 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -569,6 +569,9 @@
src/net/guildhandler.cpp, src/net/chathandler.cpp, src/Makefile.am,
tmw.cbp: Fixed numerous crashes with chat and guild windows using new
tabbed area.
+ * src/game.cpp, src/openglgraphics.cpp: Mac now uses Apple key for
+ emoticons, so alt can be used for alternate characters. Disable vsync
+ on mac.
2008-04-17 David Athay <ko2fan@gmail.com>
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