aboutsummaryrefslogtreecommitdiffstats
path: root/code/sdl
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-09-06 02:16:07 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-09-06 02:16:07 +0000
commit340891e8dca56fac2f4d26d8fb58b8f5668019e8 (patch)
tree5f8a7048ca4f4bc516be77d7218df6f79d7d61b3 /code/sdl
parent286b6306d3841cfc3aaf761864c567630ba5e45c (diff)
downloadioquake3-aero-340891e8dca56fac2f4d26d8fb58b8f5668019e8.tar.gz
ioquake3-aero-340891e8dca56fac2f4d26d8fb58b8f5668019e8.zip
* Fix for SMP hack on OS X
git-svn-id: svn://svn.icculus.org/quake3/trunk@1166 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/sdl')
-rw-r--r--code/sdl/sdl_glimp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/sdl/sdl_glimp.c b/code/sdl/sdl_glimp.c
index ff6235c..4d8257f 100644
--- a/code/sdl/sdl_glimp.c
+++ b/code/sdl/sdl_glimp.c
@@ -37,6 +37,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
/* Just hack it for now. */
#ifdef MACOS_X
+#include <OpenGL/OpenGL.h>
typedef CGLContextObj QGLContext;
#define GLimp_GetCurrentContext() CGLGetCurrentContext()
#define GLimp_SetCurrentContext(ctx) CGLSetCurrentContext(ctx)